You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
14 hours ago | |
|---|---|---|
| src | 14 hours ago | |
| .gitignore | 7 years ago | |
| Cargo.toml | 14 hours ago | |
| LICENSE | 7 years ago | |
| Makefile | 7 years ago | |
| README.md | 7 years ago | |
README.md
scrypt-wasm
Scrypt crypto library in Web Assembly
Prerequisities
- This project requires Rust 1.30.0 or later.
Build
$ make
Usage
$ npm install -D scrypt-wasm
#Javascript
import('scrypt-wasm').then((wasm)=>{
console.log(wasm.scrypt('password in hex', 'salt in hex', n, r, p, dklen))
})