@darkwolf/hash
v21.13.2
Published
Hash
Downloads
70
Maintainers
Readme
Hash
Install
npm i --save @darkwolf/hash
Using
⚠️ Requires Node.js v12.x LTS or higher to use!
import Hash from '@darkwolf/hash'
Hash.createUid('Ave, Darkwolf!') // uo87mG8LvsMxjWfDvvgE
Hash.createHash('Ave, Darkwolf!') // wdMJC28wvtoWBBS56Vrmuo87mG8LvsMxjWfDvvgEsPsTCttxV7BDZxFbrQPzqkm9
Hash.createUid() // Random uid: Jz9gjS2mrWgpASEouBen
Hash.createHash() // Random hash: Pq2YXE9U9RyaUgBrcM5AUCs3qm2pkKs6HSATybPnmQrnrLxCdgeo9cvg2W4MwA5o