🎲 Crypto secure salt generator
Coded with ❤️ by Simone Primarosa.
npm install --save @kdf/salt
const gensalt = ;
Generates a cryptographically secure random string to be used as a password salt , using Node's built-in crypto.randomBytes() function.
Kind: global function
Promise.<Buffer> - The salt as a Buffer.
||The length of the salt to be generated. Must be an integer within the range (
Contributions are REALLY welcome and if you find a security flaw in this code, PLEASE report it.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the license file for details.