PasswordGen3k

A simple collection of password genorators in diffrent languages

View project on GitHub

Password Genorator 3072 (gem)

To install type: gem install passgen3k
Name of class: Passgen3k

Fucntions

test

tests class

quick

Creates a quick password of 8 characters of any visible characters excluding spaces.

gen(n)

Creates a password of ā€˜nā€™ length of any visible characters excluding spaces.
n - number of characters

gen_c(n,a,b,c,d)

Creates a password of ā€˜nā€™ length of any characters allowed by a, b, c and d.
n - number of characters, int
a - allow cappital letters, boolean
b - allow numbers, boolean
c - allow special characters letters, boolean
d - allow lower case letters, boolean

Warning

If you have all as false it will infinitly loop