Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kpy3/erlscrypt
An Erlang NIF library for Colin Percival's scrypt function.
https://github.com/kpy3/erlscrypt
erlang erlang-nif scrypt
Last synced: 18 days ago
JSON representation
An Erlang NIF library for Colin Percival's scrypt function.
- Host: GitHub
- URL: https://github.com/kpy3/erlscrypt
- Owner: kpy3
- License: apache-2.0
- Created: 2020-10-19T16:50:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T08:47:50.000Z (10 months ago)
- Last Synced: 2024-09-21T11:55:55.900Z (about 2 months ago)
- Topics: erlang, erlang-nif, scrypt
- Language: C
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Erlang NIF for scrypt
=====================[![Build Status](https://github.com/kpy3/erlscrypt/workflows/Test/badge.svg)](https://github.com/kpy3/erlscrypt/actions?query=branch%3Amaster+workflow%3A"Test") [![Erlang Versions](https://img.shields.io/badge/Supported%20Erlang%2FOTP-21.0%20to%2024.0-blue)](http://www.erlang.org)
An Erlang NIF for Colin Percival's "scrypt" function. It uses dirty CPU schedulers for
generating hash, leaving main schedulers for Erlang applications.General information about scrypt can be found in [these slides (PDF)](http://www.tarsnap.com/scrypt/scrypt-slides.pdf)
and [Colin Percival's page on scrypt](http://www.tarsnap.com/scrypt.html).This library uses code from scrypt [1.3.1](https://github.com/Tarsnap/scrypt/tree/1.3.1).
Using the library
-----
Add library as dependency in `rebar.config`{deps, [
{erlscrypt, "1.0.0"}
...
]}.Add `scrypt` as application dependency
{application, app,
[
{applications, [
...
scrypt
]},
...
]}.Use `scrypt:scrypt/6` for encrypting data.