fork of MyEtherWallet/scrypt-wasm with more stuff added on
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.
 
 
Your Name 8eec5f1c34 working on adding crypto_box 14 hours ago
src working on adding crypto_box 14 hours ago
.gitignore initial commit 7 years ago
Cargo.toml working on adding crypto_box 14 hours ago
LICENSE Initial commit 7 years ago
Makefile set --target to browser 7 years ago
README.md add dklen parameter to readme 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))
})