Current section
Files
Jump to
Current section
Files
README.md
# pinkdf2
[](https://hex.pm/packages/pinkdf2)
[](https://hexdocs.pm/pinkdf2/)
A Gleam implementation of PBKDF2 (Password-Based Key Derivation Function 2) for Erlang. Heavily indebted to [erlang-pbkdf2](github.com/whitelynx/erlang-pbkdf2).
```sh
gleam add pinkdf2@1
```
```gleam
import pinkdf2
pub fn main() {
let assert Ok(key) = pinkdf2.with_defaults("password", pinkdf2.get_salt())
}
```
Further documentation can be found at <https://hexdocs.pm/pinkdf2>.