sha256-file
Simply return an
sha256
sum of a given file. If using async version (by including callback), it will stream; successfully tested on files 4 GB+.
Installation
$ npm install sha256-file
Test:
$ npm test
API
sha1File(path, [callback])
var sha256File = ; // sync (no callback) ; // '345eec8796c03e90b9185e4ae3fc12c1e8ebafa540f7c7821fb5da7a54edc704' // async/streamed (if using callback)
License
MIT
Thanks
sha256-file is based on sha1-file