securitykey
v1.0.2
Published
A package to generate variable length security key
Downloads
10
Maintainers
Readme
securityKey
This is a node js version for generate a security key which matches the following rules:
- the max length is 32, can specify min length and max length
- the key's initial characters are from a random substring of a guid
- the random (1-5) bits of the key will be replaced by random special characters from "!@#$%^&*()_+{}|~`';:-=[]/?"
Install
npm i securitykey
How to use
var sk=require('securitykey')
var key=sk(10,20);
console.log(key)