File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes save file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "save file" Watch "save file" New topic
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: 14688
    
  16

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: 1296
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: save file