crypto-salt-hash

1.0.4 • Public • Published

CRYPTO SALT HASH

Installation

npm i crypto-salt-hash

Example

let cyptoSaltHash = require('crypto-salt-hash');

To Create Salt and Hash use below method

   saltHashPassword('password', salthLength); 

you will get salt and hash as an object in response.

To get hash associated with salt use below method

   getsaltHash('password', salt); 

you will get salt and hash as an object in response.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i crypto-salt-hash

    Weekly Downloads

    1

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    2.13 kB

    Total Files

    3

    Last publish

    Collaborators

    • rn_trinesh