Current section
Files
Jump to
Current section
Files
README.md
# pinkdf2
[](https://hex.pm/packages/pinkdf2)
[](https://hexdocs.pm/pinkdf2/)
Gleam bindings to the heavily-optimized [fast_pbkdf2](https://github.com/esl/fast_pbkdf2) NIF for PBKDF2 (Password-Based Key Derivation Function 2) on Erlang.
```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>.