New Posts New Posts RSS Feed: Decrypting a password
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Decrypting a password

 Post Reply Post Reply
Author
donalism@gmail.com View Drop Down
Newbie
Newbie


Joined: 15-Mar-2010
Posts: 1
Post Options Post Options   Quote donalism@gmail.com Quote  Post ReplyReply Direct Link To This Post Topic: Decrypting a password
    Posted: 15-Mar-2010 at 2:11am
Hi , I used a method CryptoFns.MD5HashUTF16ToString(string pValue) to encrypt passwords. Now I want to be able to decrypt the passwords. I tried using IdeaBlade.Util.CryptoFns.SimpleDESDecrypt(string pValue,string pEncryptionKey) but I don’t quite understand what the second string parameter should be.
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 15-Mar-2010 at 9:08am
You cannot decrypt a MD5 Hash. A hash is one way function.

If in your table, the users password is stored as a md5 hash, then when they try to login, you hash the entered password and compare it against the stored hash.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down