Skip to content

janrain/nano-cryptr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.