Generate a hash by moving your mouse (macOS and Windows)
$ npm install --save mouse-hash
const mouseHash = require('mouse-hash');
mouseHash().then(hash => {
console.log(hash);
//=> 3bac6a60a8e9d1fe5ad5457562bb16d6226f952f01f3
});
Returns a promise that resolves to the generated hash in sha512.
Type: number
Default: 500
Length of the array of mouse coordinates.
$ npm install --global mouse-hash
$ mouse-hash --help
Usage
$ mouse-hash
Options
--length 250. [Default: 500]
MIT © Kevin Martensson