/nano-cryptr

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

nano-cryptr

Hackage Build Status

This is a simple, thread-safe Haskell binding to glibc's crypt_r function.

> import System.Gnu.CryptR
> cryptR "REDACTED" "$6$4VMgp/9O$"
Just "$6$4VMgp/9O$O3uYU1gtPUrJkTIDwWtylzztmaHiwUO/KsK9d6QpAvMUOVbSeYy5DY4lxO6YZJoakJhwAgB2H406paso6KPpR/"

Refer to the package documentation for information on how to use the provided bindings, and check the test directory for examples.

For information on glibc's crypt_r format, please read the manual.