Skip to content

All Strings Generator : : : Package for customized characters, passphrases and hash

License

Notifications You must be signed in to change notification settings

matayo-ayo/all-str-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All Strings Generator

This package provides functions for generating passphrases, random strings, random numbers and hashes

Installation

Run npm i all-str-gen to install package to project

Usage

string Generator

Generate mixed strings with any length using true and false

  • Generate usernames
  • Generate password
  • Generate control numbers
  • Generate keys
const allstrgen = require('all-str-gen')

# syntax
const string = allstrgen.generateString(count, uppercase, lowercase, number, symbols)

# usage
const string = allstrgen.generateString(8, true, true, false, true)

Passphrase Generator

Generate passphrases with a word count

  • Generate passphrase
const allstrgen = require('all-str-gen')

# syntax
const passPhrase = allstrgen.generatePassphrase(count)

# usage
const passPhrase = allstrgen.generatePassphrase(5)

Hash generator

create irevisible hash from string

NOTE:

  • To use this function you need crypto package installed run npm i crypto to install
const allstrgen = require('all-str-gen')

# syntax
const hash = allstrgen.generateHash(input)

# usage
const hash = allstrgen.generateHash('my string')

Documentation

About

All Strings Generator : : : Package for customized characters, passphrases and hash

Resources

License

Stars

Watchers

Forks

Packages

No packages published