How can i insert password from textbox in database in encrypted form and match from database to login.

Recommended Answers

Hi,
You'll want to look into using a hash function against the entered password and then saving the hashed version in the database. Then, on logging in, hash the supplied password and check it against the hash in the database.
Check out tutorials for MD5 and SHA1 online

Jump to Post

All 2 Replies

Hi,
You'll want to look into using a hash function against the entered password and then saving the hashed version in the database. Then, on logging in, hash the supplied password and check it against the hash in the database.
Check out tutorials for MD5 and SHA1 online

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.