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 2005 Forums
 Transact-SQL (2005)
 Encrypt/Decrypt

Author  Topic 

Nazneen
Starting Member

1 Post

Posted - 2009-02-09 : 06:58:36
i want to encrypt password field and decrypt when i want

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2009-02-09 : 07:34:42
quote:
Originally posted by Nazneen

i want to encrypt password field and decrypt when i want



Congratulations. What's your question?


Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-02-09 : 08:03:05
Use an encryption/decryoption algorithm like this
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=76258


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

Jai Krishna
Constraint Violating Yak Guru

333 Posts

Posted - 2009-02-09 : 08:03:34
For Encryption

pwdencrypt('string')





Jai Krishna
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-02-09 : 08:07:50
See why PWDENCRYPT is not good enough
http://www.theregister.co.uk/2002/07/08/cracking_ms_sql_server_passwords/

See that PWDENCRYPT has changed over time
http://msmvps.com/blogs/gladchenko/archive/2005/04/06/41083.aspx


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -