1.0.5 • Published 2 months ago
wasm-yescryptr32-hash v1.0.5
wasm-yescryptr32-hash
WASM binding for YescryptR32 hashing algorithm written in C
Installation and usage
Buffer polyfill is required for usage in browsers
$ npm install wasm-yescryptr32-hash
const Ysrc = require('wasm-yescryptr32-hash');
Ysrc().then(ysrc => {
const hash = ysrc.digest('hello world')
});
Build and test
Docker v20+ is required
$ npm run build
$ npm run test