securitykey

1.0.2 • Public • Published

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)

Package Sidebar

Install

npm i securitykey

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

3.14 kB

Total Files

3

Last publish

Collaborators

  • yayayahei