hashthefile
v1.0.5
Published
Hash But its now easy!
Downloads
5
Readme
Hash The File
An Easy Way To Hash Files.
Install
Install this package with:
npm i hashthefile
Usage
to create SHA256 hash of file enter this code:
const filehasher = require('hashthefile');
console.log(filehasher.getfileHash("FILENAME"));
//4ea5c508a6566e76240543f8feb06fd457777be39549c4016436afda65d2330e
to get MD5 hash text, enter this code:
const filehasher = require('hashthefile');
console.log(filehasher.gettextMD5("text"));
//168726dbe96b3ce427e7fedce31bb0bc
End
this is the end! creator is GHALBEYOU