node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

achim-salt

How to use

This package designed to generate alphanumeric characters randomly, you can use this as secret key to hash your password. This package also designed to complete achim-crypto package. https://www.npmjs.com/package/achim-crypto

Install

>> npm i -S achim-salt

Example

const salt = require('achim-salt');

var register = (req, res) => {
  secretKey = salt()
  
}