@retoken/shash

0.0.1 • Public • Published

@retoken/shash

Install

$ npm i @retoken/shash

Tests

$ npm test

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)

Readme

Keywords

Package Sidebar

Install

npm i @retoken/shash

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

3.74 kB

Total Files

7

Last publish

Collaborators

  • murka