encryption and decryption password

  • i want to store the password in encrypted form in database and want to get it decrypted when user forgets password....What are the efficient ways..can somebody explain with example??

    thanks

  • there is a really good article here that i refer to all the time:

    http://www.databasejournal.com/features/mssql/article.php/3483931/SQL-Server-2005-Security---Part-3-Encryption.htm

    it shows how to set up your keys, and then a bunch of examples in TSQL to encrypt and decrypt values.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply