0 purchases
pyPasswordGenerator 1.0.2
PasswordGenerator
Password Generator
based on Perfect Paper Passwords
High security multifactor authentication password generator.
standard passcode set
This is the standard and conservative PPP set of 64 characters. It was chosen to remove characters that might be confused with one another. Using 4-characters per passcode, 16,777,216 passcodes are possible for very good one time password security
passcode_set = '!#%+23456789=?@ABCDEFGHJKLMNPRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
example:
use standard set to create password length = 10, with 3 uppercases, 3 digits and 1 symbol
from pyPasswordGenerator import password as ps
# standard set
set = 's'
ps.generator(length = 10, upper = 3, digits =3, symbol = 0, set =set )
>>>'5v5njx9BAN'
visually aggressive passcode set
This is a much more "visually aggressive" (somewhat more interesting
and certainly much stronger) 88-character alphabet which supports
the generation of 59,969,536 possible 4-character passcodes:
passcode_set = '''!"#$%&'()*+,-./23456789:;<=>?@ABCDEFGHJKLMNOPRSTUVWXYZ[]^_abcdefghijkmnopqrstuvwxyz{|}~'''
example
use standard set to create password length = 8, with 2 uppercases, 2 digits and 2 symbol
from pyPasswordGenerator import password as ps
# visually aggressive set
set = 'v'
ps.generator(length = 8, upper = 2, digits =2, symbol = 2, set =set )
>>>'sX65%A^g'
use won set to limit symbol with only !#@
use your set create password length = 12, with 4 uppercases, 2 digits and 2 symbols
from pyPasswordGenerator import password as ps
# my own password set
set = '!#23456789@ABCDEFGHJKLMNPRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
ps.generator(length = 11, upper = 4, digits =2, symbol = 2, set =set )
>>>'@F8Wa#jRn6S'
Definition
Parameter
Default
Description
length
8
Length of Password, if length = 10 then xdat3a9$dg
upper
2
How many upper case charactors, if upper =4 GdAT3a9$Dg
digits
2
How many digits, if digits = 1 GdAT3ad$Dg
symbol
0
How many symbol if symbol=4 G#A!3a9$D!
passcode_set
s
v
installation
pip install pyPasswordGenerator
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.