shark-hashlib

1.0.0 • Public • Published

HASH

In case of error, The lib give back null;

Example

const hash=require("shark-hashlib")

console.log(hash(2,"Hey"));

Console.log the MD5 hash from Hey

1 Param (NUMBER):

  • 0 = Sha256
  • 1 = Sha1
  • 2 = Md5

2 Param (String):

The value to Hash

Package Sidebar

Install

npm i shark-hashlib

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

1.56 kB

Total Files

4

Last publish

Collaborators

  • sharkbyteprojects