Encrypting & Decrypting

wichawd

Freshman
Joined
Sep 29, 2003
Messages
39
Hi. Lets say you have an encrypted password saved on a file. Inorder to decrypt the password you need the key used in the decrypting the password...right? How will I decrypt the password without exposing the key to the code or client?
 
Correction........
Hi. Lets say you have an encrypted password saved on a file. Inorder to decrypt the password you need the key used in[decrypting] encrypting the password...right? How will I decrypt the password without exposing the key to the code or client?
 
You dont usually decrypt the password, but encrypt the string you want to compare to the encrypted one to see if they are the same. Framework has a handful of classes for encryption like MD5 or SHA.
 
Back
Top