Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy2saints committed Dec 4, 2011
1 parent c0d0875 commit ac04389
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
@@ -1,13 +1,15 @@
SimplePassword
======================
SimplePassword
======================

This is a simple class for creating salted password hashes.
Typical use would be:
This is a simple class for creating salted password hashes.

Typical use would be:
```c#
var passwordHash = new SaltedPasswordHash("someClearTextPassword");
SaveToDatebase(passwordHash.Hash, passwordHash.Salt);
```
Later to verify the password

```c#
var hash = GetHashFromDatabase();
var salt = GetSaltFromDatabase();
Expand Down

0 comments on commit ac04389

Please sign in to comment.