A.Venkatesan
Microsoft Certified Professional
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact venkatmca008@gmail.com
But in most of web site's cases, you don't need to "decrypt" the password. If user lost password, he can be simply reassigned a new temp password. Unless you need use stored password to access other services like check user's emails, hashing is just fine,
and safer and faster than encryption.
bhd44hsk5
Member
26 Points
41 Posts
encrypt password
Feb 23, 2012 11:20 PM|LINK
Hi;
Can anyone give me a simple way to encrypt and decrypt a password field using vb.net
Thank you !
asp
budugu
All-Star
41110 Points
6020 Posts
Re: encrypt password
Feb 23, 2012 11:34 PM|LINK
Check this: http://www.4guysfromrolla.com/articles/103002-1.aspx
asp
"Don't be afraid to be wrong; otherwise you'll never be right."
Shellymn
Contributor
2602 Points
485 Posts
Re: encrypt password
Feb 23, 2012 11:35 PM|LINK
Please go through the sample code poster in the below blog.
http://ntcnet.wordpress.com/2007/11/27/encryptdecrypt-string-vbnet/
venkatmca008
Participant
1810 Points
341 Posts
Re: encrypt password
Feb 24, 2012 12:24 AM|LINK
hi....please refer this
http://www.daniweb.com/software-development/vbnet/code/366392
http://discuss.itacumens.com/index.php?topic=73546.0
Microsoft Certified Professional
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact venkatmca008@gmail.com
ramiramilu
All-Star
95413 Points
14106 Posts
Re: encrypt password
Feb 24, 2012 02:12 PM|LINK
One way hash of passwords - http://vbguru.wordpress.com/2009/12/03/using-a-one-way-hash-on-passwords/
Thanks,
asp
JumpStart
rossisdead2
Participant
1313 Points
300 Posts
Re: encrypt password
Feb 24, 2012 09:05 PM|LINK
A one way hash isn't encryption. It's hashing. You can't "decrypt" a hash and get the original value back.
asp
Cheng Bao
Member
191 Points
126 Posts
Re: encrypt password
Feb 24, 2012 10:10 PM|LINK
But in most of web site's cases, you don't need to "decrypt" the password. If user lost password, he can be simply reassigned a new temp password. Unless you need use stored password to access other services like check user's emails, hashing is just fine, and safer and faster than encryption.
asp
rossisdead2
Participant
1313 Points
300 Posts
Re: encrypt password
Feb 24, 2012 10:25 PM|LINK
I agree, hashing's the way to go. But that's not the question he asked.