View Single Post
  #1 (permalink)  
Old 04-02-2008, 10:46 AM
Standa's Avatar
Standa Standa is offline
Junior Member
 
Join Date: May 2007
Location: Czech Republic
Posts: 25
Default Encrypting, decrypting - any better idea how to work with file?

Hi, maybe stupid question, but...
I am trying to write passwords storage software using crypto library. What is better:
1) Encrypt whole text file with passwords, and when need to read, decrypt this file, save it to string and read.
...or...
2) Encrypt only separate items like www site, nick, pass etc., and save it to readable file. On reading, decrypt only those items what I need to see.
...or...
3) everything is bad, I have better solution for you...

Here is planned format for storage file:

Quote:
<entry>
<desc1>Title</desc1>
<desc2>Address</desc2>
<desc3>Nick</desc3>
<desc4>Password</desc4>
<text1>Basic4ppc</text1>
<text2>http://basic4ppc.com</text2>
<text3>Shrek</text3>
<text4>MyLovelyFiona</text4>
</entry>
I hope, you understand me, this post is very close to the end of my English knowledge
__________________
XDA Flame
Reply With Quote