since i already convert string to md5 i have to convert it back into string but i don't know how. i was looking a refrence of it in internet but i did not found it or i don't understand. so is there any way to do it?
thank you in advance. and i'm sorry if my english is bad
If I guess your intention right, and if you are indeed after encryption and decryption, look into the blowfish library (built in, just "uses Blowfish") and/or what dcpcrypt (available via the Online Package Manager) offer. Both are well documented in the Wiki.
And don't throw the MD5 code away, you will probably come back to it when you continue thinking about how you store a password, come to the conclusion that this is an exceptionally bad idea (if you can decrypt the password, anyone else can too), and finally reach at the point where everyone reaches sooner or later: don't ever store a password, but store a password hash derived from it. Since hashes are mathematically (almost) irreversible, nobody can restore your original password if he somehow got at the hash bytes, e.g. by stealing te password file from your harddrive. This is where hashing algorithms have one of their primary uses.
Armin.