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.
Login credentials for encrypt and decrypt
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Parveen SiwachRank #6,758 · 257 reputationPosted May 17, 2013, 3:30 AM EDT
For more info go through the following link:
http://programmers-en.high-way.info/cs/aes.html
Hope this will help you.
Pankaj PandeyRank #642 · 3.7K reputationPosted May 17, 2013, 3:34 AM EDT
which encryption function you are using?
can you copy that code here?
Parveen SiwachRank #6,758 · 257 reputationPosted May 17, 2013, 4:12 AM EDT
To call the Encrypt/Decrypt methods:
string encPassword = AESEncryption.Encrypt("Password");
string decPassword = AESEncryption.Decrypt(encPassword);
Hope this will help you.