Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Md5 code encyption and decryption in VB.net for SQL DATABASE
Posted
Comments
Ed Nutting 11-Apr-12 5:45am    
Do not use MD5!! It has been broken for years and was officially reported as unsafe to use in 2008 (at least that's earliest I can find). Please use SHA2 or one of those families algorithms. To do this look into the System.Cryptography namespace.

Thanks,
Ed

 
Share this answer
 
v2
Comments
Kareema 2 15-Apr-12 4:38am    
Thanks Mr Reza
i will put the code in my project i hope it work
MD5 is a cryptographic hash function, not an encryption function. The difference is hash functions are one-way only. You cannot decrypt the hash back into the original content. Well, at least you're not supposed to. MD5 has been considered broken for years now.
 
Share this answer
 
Comments
Maciej Los 11-Apr-12 15:34pm    
Very good answer! My 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900