| Author |
save file
|
Bhabani Sankar Mishra
Greenhorn
Joined: Mar 28, 2006
Posts: 3
|
|
|
I have to make a file and store some data(string) in it. I want that no one will be able to understand what is written in the file by openning it as txt . like he will get text as ;vnzlghaog\GH;OLFJHQ686596- in the file. So how do I go by doing the data formating. I tried it as is done in C++ by adding numbers to ASCII value of the character, but that gave error in JAVA. Can anyone plz help me with this problem.
|
IIT rox
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
|
Show us your error. Adding numbers to ascci values is possible in Java too.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Garrett Rowe
Ranch Hand
Joined: Jan 17, 2006
Posts: 1295
|
|
A google search for Java encryption cipher may give you some inspiration. [ March 30, 2006: Message edited by: Garrett Rowe ]
|
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
|
 |
 |
|
|
subject: save file
|
|
|