Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 806 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 806 Bytes

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.