Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i'm having an custom users table in my database to maintain password and username and i don't know how to provide security for password.
Any one please help.
Posted
Updated 12-May-13 20:23pm
v2

1 solution

You have to encrypt the passwords while storing through your applicable to DB. And decrypt the password while you retrieve the password from DB to application.

You can use any well known encryption algo for encoding.

Check this link: Password Encryption using MD5 Hash Algorithm in C#[^]
 
Share this answer
 
v2
Comments
Maciej Los 13-May-13 2:32am    
Mohammed, there is not possible to decrypt MD5 password, although indeed Wiki says that is possible. MD5 is known as 1-way cryptographic algorithm.
More: http://en.wikipedia.org/wiki/MD5[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900