hashthefile

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i hashthefile

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

14.8 kB

Total Files

7

Last publish

Collaborators

  • arashamini