shark-hashlib
v1.0.0
Published
Makes Hashing Easier
Downloads
7
Maintainers
Readme
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