Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent c0d0875 commit ac043893c28d6ae9b8e97cf0259565b26f43531e @jimmy2saints committed Dec 4, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
@@ -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();

0 comments on commit ac04389

Please sign in to comment.