argon2-1.0.0: Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function

Safe HaskellNone
LanguageHaskell2010

Crypto.Argon2

Documentation

hashEncoded Source

Arguments

:: HashOptions

Options pertaining to how expensive the hash is to calculate

-> ByteString

The password to hash

-> ByteString

The salt to use when hashing

-> Text

The encoded password hash

hash Source

Arguments

:: HashOptions

Options pertaining to how expensive the hash is to calculate

-> ByteString

The password to hash

-> ByteString

The salt to use when hashing

-> ByteString

The un-encoded password hash

data Argon2Variant Source

Constructors

Argon2i 
Argon2d