Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 798 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 798 Bytes

Hash The File

1 2 3 4

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