954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Encryption

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

adobe71
Junior Poster in Training
56 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

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

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167
 
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You