Skip to content
PBKDF2 NIF implementation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c_src
src
.gitignore
LICENSE
README.md
rebar.config
rebar.lock

README.md

pbkdf2_nif

A PBKDF2 implementation for Erlang applications provided as a nif.

This implementation is using an HMAC_SHA1 algorithm. It's based on source code from the OpenBSD project.

For a pure Erlang implementation you can use erlang-pbkdf2.

Usage

1> Password = <<"password">>,
1> Salt = <<"ATHENA.MIT.EDUraeburn">>,
1> NbRounds = 1200,
1> pbkdf2:pbkdf2(Password, Salt, NbRounds).
<<92,8,235,97,253,247,30,78,78,195,207,107,161,245,81,43,
  167,229,45,219>>

Build

$ rebar3 compile
You can’t perform that action at this time.