Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 Encryption

Author  Topic 

royv
Constraint Violating Yak Guru

455 Posts

Posted - 2002-10-14 : 11:29:53
Does anyone know of an algorithm that you can encrypt but cannot decrypt? Its for a password, and when the user logs in I would encrypt his password and then compare to the encrypted value, instead of decrypting.

Thanks.

*************************
Someone done told you wrong!

Arnold Fribble
Yak-finder General

1961 Posts

Posted - 2002-10-14 : 12:15:19
A secure hash such as MD5* or SHA-1 would do it.

*if MD5 is still secure!



Go to Top of Page
   

- Advertisement -