|
| Happstack.Data.User.Password |
|
|
| Description |
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
| Constructors | | Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| :: Password | stored salt and password hash
| | -> String | password to test (unhashed)
| | -> Bool | did it match
| | check if the submitted password matches the stored password
|
|
|
|
| hash a password using the supplied salt
Originally implemented using SHA1. By switching to pbkdf2, we don't rely on implementation of randomIO being cryptographically secure.
|
|
|
|
|
| generate some random salt
returns 4 Char of salt.
|
|
|
| generate a new salted/hashed Password from the given input string
|
|
| Produced by Haddock version 2.6.1 |