package scrypt-kdf

  1. Overview
  2. Docs

Description

A pure OCaml implementation of scrypt password based key derivation function, as defined in The scrypt Password-Based Key Derivation Function internet draft, including test cases from the RFC. It also includes a pure OCaml implementation of Salsa20 Core functions, both Salsa20/20 Core and the reduced Salsa20/8 Core (required by scrypt) and Salsa20/12 Core functions, including test cases from the spec.

Published: 21 Feb 2017

README

README.md

The scrypt Password-Based Key Derivation Function

A pure OCaml implementation of scrypt password based key derivation function, as defined in The scrypt Password-Based Key Derivation Function internet draft, including test cases from the RFC.

It also includes a pure OCaml implementation of Salsa20 Core functions, both Salsa20/20 Core and the reduced Salsa20/8 Core (required by scrypt) and Salsa20/12 Core functions, including test cases from the spec.

Dependencies (7)

  1. pbkdf >= "0.1.0"
  2. nocrypto >= "0.5.3"
  3. cstruct >= "1.7.0" & < "6.0.1"
  4. topkg build
  5. ocamlbuild build
  6. ocamlfind build
  7. ocaml >= "4.02.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (1)

  1. builder-web

Conflicts

None