Skip to content

zbskii/haskell-bcrypt

Repository files navigation

Build Status

haskell-bcrypt

A simple haskell wrapper around the OpenBSD bcrypt implementation.

Building

cabal configure; cabal build; cabal install

Example

See examples/Main.hs

To reduce external dependencies, a secure random number generator wasn't included. genSalt needs a random 16 byte string as a seed. Using a known secure random number generator such as OpenSSL.Random is recommended.

About

An FFI wrapper for the OpenBSD bcrypt implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •