Password Decryption
Reply
![]() |
|
From:
![]() sistlavenkat
|
Raj,
There are functions in SQL server 2000 to encrypt and decrypt passwords, and you can leverage them.
pwdencrypt - encrypts password, pwdcompare - compares the password and lets you know the result. 0 - false, and 1 - true.
Following script is created as sample insert for Northwind customer table.
INSERT INTO Customers (CustomerID, CompanyName) VALUES ('SAMP', pwdencrypt ('Devel0per'))
DECLARE @myPwd VARCHAR (10) SELECT @myPwd = CompanyName FROM Customers where Customerid = 'SAMP' PRINT pwdcompare('Devel0per',@myPwd );
-- prints '1'
HTH, venkat.Murthy
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|