Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 339 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 339 Bytes

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))
})