zenpass
v1.0.5
เพื่อสร้างรหัสผ่านแบบสุ่มและแข็งแกร่ง
pip install -U zenpass
usage: zenpass [options]
optional arguments:
-h, --help show this help message and exit
-v, --version show version number and exit.
to customize Password:
-l , --length to set length to the password
-n , --ignore to ignore unwanted characters to the password
-i , --include to include characters to the password
-o , --only to create password only using wanted characters
-s , --separator the separator character
-c , --seplen the length of characters between separator
--repeat to repeat the characters in the password (default : False)
--separation to separate password characters using separator (default : False)
--show to show password (default : False)
keywords: [alphabets, uppercase, lowercase, numbers, symbols]
can be given as input for following params: ignore, include, only
เพื่อสร้างรหัสผ่านแบบสุ่ม
from zenpass import PasswordGenerator
pg = PasswordGenerator ()
pg . generate ()เพื่อสร้างรหัสผ่านแบบสุ่ม
$ zenpass
Password copied to clipboard.
ในการตั้งค่าความยาวรหัสผ่านความยาวรหัสผ่านเริ่มต้นคือ 8-16
$ zenpass -l 10 --show
Password: Q3m/vro|uR
Password copied to clipboard.
ไม่ว่าอักขระในรหัสผ่านจะทำซ้ำหรือไม่ค่าเริ่มต้นของ repeat เป็น False
$ zenpass -r --show
Password: 96Ndl;1D$jQu4Z2
Password copied to clipboard.
ในการรวมให้ละเว้นหรือใช้เฉพาะ 'alphabets' , 'numbers' , 'uppercase' , 'lowercase' , 'symbols' และ random characters ในการสร้างรหัสผ่าน
เพื่อละเว้น numbers ในรหัสผ่าน
$ zenpass -n numbers --show
Password: uyMXP‘$!ZSCYqzj
Password copied to clipboard.
หากต้องการเพิกเฉยต่อตัวละคร a,b,c,d,e
$ zenpass -n abcde --show
Password: ~}t"R‘jF'ksG8~E
Password copied to clipboard.
เพื่อสร้างรหัสผ่านโดยใช้ special characters เท่านั้น
$ zenpass -o symbols -l 15 --show
Password: ?)".=-_^[_‘~{.)
Password copied to clipboard.
เพื่อรวม a,b,c,d,e ในรหัสผ่าน
$ zenpass -o numbers -i abcde -l 15 --show
Password: 78713d1e3d926a3
Password copied to clipboard.
เพื่อแยกอักขระในรหัสผ่านโดยใช้ตัวคั่น
$ zenpass -o uppercase --separation -l 16 --show
Password: YNQC-RKBF-DMAT-UVIP
Password copied to clipboard.
ในการแยกอักขระในรหัสผ่านโดยใช้ตัวคั่น _ ที่มี 5 อักขระระหว่างตัวคั่นแต่ละตัว
$ zenpass -o uppercase --separation -l 15 -s _ -c 5 --show
Password: YNQCR_KBFDM_ATUVI
Password copied to clipboard.
หากคุณพบปัญหาใด ๆ โปรดยื่นปัญหาพร้อมกับคำอธิบายโดยละเอียด