@retoken/shash
0.0.1 • Public • Published
@retoken/shash
Install
Tests
Example
const shash = require('@retoken/shash')
const options = {
key: 3301,
salt: 33
}
const TEXT = 'Aliase Network'
shash(TEXT, options)
.then(r => console.log('With options:', r))
shash(TEXT)
.then(r => console.log('Without options:', r))
const object = {
firstname: 'Danil',
lastname: 'Shaymurzin'
}
shash(object)
.then(r => console.log('Object:', r))
shash(TEXT, OPTIONS)
Package Sidebar
Install
Weekly Downloads