Skip to content

styladev/bcrypt-fast-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bcrypt-wasm

WebAssembly version of bcrypt for Node environments

Build

$ make

Usage

$ yarn add bcrypt-fast
const bcrypt = require("bcrypt-fast");

const start = process.hrtime();

const password = "test";

const hashA = bcrypt.hash(
    password,
    4,
);

const hashB = bcrypt.hash(
    password,
    4,
);

assert(hashA !== hashB);

assert(bcrypt.verify(
    password,
    hashA,
));

assert(bcrypt.verify(
    password,
    hashB,
));

About

WebAssembly version of bcrypt for Node environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published