Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help soon  RSS feed

 
Satish Kumar Kara
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys ....
i am working in a licencing issue for a product....
For that first i am encrypting the string and storing that in to a file in string format. next time when i am trying to fetch that data..The byte length of the fetched data is not same with the data i write to the file... so i am not able to decrypt the information..... The piece of code i am writing bellow. Pls help me its urgent

Please use Code Tags - JCE
[ February 29, 2008: Message edited by: Joe Ess ]
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
First, Ease Up. Every question on this forum is "urgent", at least to the person asking it.
Next, have a look at the IO Chapter of the Java Tutorial. One of the basic concepts of Java IO is that Streams are for binary data and Readers/Writers are for text-encoded data. Processing binary data using a Reader/Writer is a Bad Thing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!