Skip to content

dashpay/wasm-x11-hash

Repository files navigation

wasm-x11-hash

NPM Version Build Status Release Date standard-readme compliant

WASM binding for X11 hashing algorithm written in C

Installation and usage

Buffer polyfill is required for usage in browsers

  • $ npm install wasm-x11-hash
const X11 = require('wasm-x11-hash');

X11().then(x11 => {
  const hash = x11.digest('hello world')
});

Build and test

Docker v20+ is required

  • $ npm run build
  • $ npm run test