Stronger password hashing via sequential memory-hard functions.

LTS Haskell 22.29:0.5.0
Stackage Nightly 2024-07-13:0.5.0
Latest on Hackage:0.5.0

See all snapshots scrypt appears in

BSD-3-Clause licensed and maintained by Falko Peters
This version can be pinned in stack with:scrypt-0.5.0@sha256:d01de43bb28cc449c085932201be5d5e9f141761a424600594f00cfce7f53edb,2070

Module documentation for 0.5.0

Used by 2 packages in lts-14.27(full list with versions):

Welcome to scrypt

This is a Haskell library providing bindings to Colin Percival’s scrypt implementation. Scrypt is a key derivation function designed to be far more secure against hardware brute-force attacks than alternative functions such as PBKDF2 or bcrypt.

Details of the scrypt key derivation function are given in a paper by Colin Percival, Stronger Key Derivation via Sequential Memory-Hard Functions: PDF.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

git clone git://


This library is written and maintained by Falko Peters, [email protected].

Thanks to Thomas DuBuisson for suggesting the changes to make this package windows-compatible.