Click here to Skip to main content
12,698,253 members (22,335 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


105 bookmarked

Password Storage: How to do it.

, 29 Apr 2011 CPOL
A lot of people are asking how to encrypt passwords, and I have answered "Don't do it" too many times. This Tip describes how to store a password in your database, and why.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

8 May 2011
I think it has error, for example:A user is:string userId = "OriginalGriff"; string password = "NotMyPassword";And other user is:string userId = "Original"; string password = "GriffNotMyPassword";Problem to store two user.My idea is:private static...


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


About the Author

Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 29 Apr 2011
Article Copyright 2011 by OriginalGriff
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid