can any please suggest of "one-way" encryption in Visual basic 6. thanks!!!
Printable View
can any please suggest of "one-way" encryption in Visual basic 6. thanks!!!
one-way encryption...you mean an MD5 hash?
If not, explain what you mean by "one way"...as in can't be decrypted by anyone? What's the point?
Search the forum you will get many examples:
http://vbforums.com/search.php?searchid=821818
"One-way" once you encrypt it there's no way for you to decrypt it...that's why it is "one-way" encryption...whats the point? ask the GURU why they invent such encryption algorithm.
One way encryption is the only encryption you should trust.
It is mostly used for log-ins, when you store the password hashed (one way encrypted), and to test the validity of the password, you compare the encrypted strings.
I also made a very strong 2 way encryption using one-way encryption, see this thread:
VB - 128, 160 and 256 Bit File Encryption/Decryption with MD5, SHA1 and SHA256
What is MD5 and why use it: http://en.wikipedia.org/wiki/MD5
MD5 in different languages: http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html
I have an MD5 function somewhere that I downloaded (mixture of function and class module)...if need be, I can find it :-)