hi friends
iam developing one application userlogin details save in logintable.
i have a table like columns and having data.
Loginid UserName Password
1 admin admin123
2 employee employee123
now i want to save this password into encrypted form in table. like 9169db2df5873491ceeddd7cf49ed328a880e4c7
in my login.aspx page i was entered username admin
password admin123
when iam click login button this admin123 password will be converted to encrypted form now i want to compare this encrypted password with database encrypted password
please help me
iam new to this topic.
thanking you friends.
Loading
Parveen SiwachPosted May 17, 2013, 8:12 AM
To call the Encrypt/Decrypt methods:
string encPassword = AESEncryption.Encrypt("Password");
string decPassword = AESEncryption.Decrypt(encPassword);
Hope this will help you.
Pankaj PandeyPosted May 17, 2013, 7:34 AM
which encryption function you are using?
can you copy that code here?
Parveen SiwachPosted May 17, 2013, 7:30 AM
For more info go through the following link:
http://programmers-en.high-way.info/cs/aes.html
Hope this will help you.