dchest/uscrypt
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Package uscrypt implements Unix crypt-like password hashing scheme
based on scrypt sequential memory-hard key derivation function.
Format of password hashes:
$scrypt$logN=<LogN>,r=<R>,p=<P>$<SALT>$<PWDHASH>
where LogN, R, P are scrypt cost parameters encoded as decimal numbers (in
the exact specified order); SALT is a random salt, PWDHASH is the output of
scrypt, both encoded in Base64 using custom alphabet.
INSTALLATION
$ go get github.com/dchest/uscrypt
DOCUMENTATION
See http://godoc.org/github.com/dchest/uscrypt