Skip to content

borschik/borschik-hash

Repository files navigation

borschik-hash

Borschik hash function to freeze files.

NPM Status Travis Status

Install

$ npm install --save-dev borschik-hash

Usage

var borschikHash = require('borschik-hash');

var contents = fs.readFileSync('path/to/file');
var hash = borschikHash(contents);

// ➜ LWJmVQ8Q4Kn5C4mK3iYXHyieR7g

CLI

$ borschik-hash path/to/file

LWJmVQ8Q4Kn5C4mK3iYXHyieR7g

License

MIT © Andrew Abramov