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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 SQL Server field encryption

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-09-12 : 10:49:30
Peter writes "Hi.

currently, we are using a SQL Server 2000 database, and we would like to encrypt a field containing passwords in our database. Are ther any methods to encrypt a password, and to compare a encrypted and not-encrypted password?

kind regards

Peter Blanchaert"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-09-12 : 10:53:12
There are the PWDENCRYPT() and PWDCOMPARE() functions that are undocumented and used internally by SQL Server. Be advised though that these functions are inherently insecure:

http://www.sqlteam.com/redir.asp?ItemID=10075

There's some more detail here:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=10966

If you need stronger encryption, there is a product call XP_Crypto available here:

http://www.sqlteam.com/redir.asp?ItemID=6391

Go to Top of Page
   

- Advertisement -