dislick / Ts Pwgen
Command-Line Password Generator in TypeScript
Stars: ✭ 18
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Ts Pwgen
PasswordX
Offline password manager for iOS/macOS
Stars: ✭ 26 (+44.44%)
Mutual labels: password-generator
PasswordGenerator
A simple C# helper class for ASP.NET Core to generate a random password with custom strength requirements: min length, uppercase, lowercase, digits & more
Stars: ✭ 27 (+50%)
Mutual labels: password-generator
Go Password
A Golang library for generating high-entropy random passwords similar to 1Password or LastPass.
Stars: ✭ 317 (+1661.11%)
Mutual labels: password-generator
OormiPass
Free open source cross platform password manager
Stars: ✭ 50 (+177.78%)
Mutual labels: password-generator
web
Cloverleaf is a free, open source app to replace your password manager without storing your passwords anywhere.
Stars: ✭ 33 (+83.33%)
Mutual labels: password-generator
Pash
🔒 A simple password manager using GPG written in POSIX sh.
Stars: ✭ 254 (+1311.11%)
Mutual labels: password-generator
LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (+61.11%)
Mutual labels: password-generator
Strongbox
A KeePass/Password Safe Client for iOS and OS X
Stars: ✭ 586 (+3155.56%)
Mutual labels: password-generator
Gokey
A simple vaultless password manager in Go
Stars: ✭ 305 (+1594.44%)
Mutual labels: password-generator
lockd
Generate strong passwords and save them in Keychain. Made with SwiftUI
Stars: ✭ 38 (+111.11%)
Mutual labels: password-generator
Xbruteforcer
X Brute Forcer Tool 🔓 WordPress , Joomla , DruPal , OpenCart , Magento
Stars: ✭ 261 (+1350%)
Mutual labels: password-generator
telegram-xkcd-password-generator
Readable Passwords Generator For Telegram (Bot API)
Stars: ✭ 26 (+44.44%)
Mutual labels: password-generator
Passmaker
可以自定义规则的密码字典生成器,支持图形界面 A password-generator that base on the rules that you specified
Stars: ✭ 363 (+1916.67%)
Mutual labels: password-generator
GetPwd
It's a tool which generate a dictionary from a csv containing personals informations. Generate all common passwords based on perso info. (leet transformations and combinatory processing)
Stars: ✭ 46 (+155.56%)
Mutual labels: password-generator
MasterPassX
A deterministic stateless password generator.
Stars: ✭ 21 (+16.67%)
Mutual labels: password-generator
Qtpass
QtPass is a multi-platform GUI for pass, the standard unix password manager.
Stars: ✭ 763 (+4138.89%)
Mutual labels: password-generator
Spicypass
A light-weight password manager with a focus on simplicity and security
Stars: ✭ 367 (+1938.89%)
Mutual labels: password-generator
Omen
OMEN: Ordered Markov ENumerator - Password Guesser
Stars: ✭ 277 (+1438.89%)
Mutual labels: password-generator
ts-pwgen
Command-Line Password Generator in TypeScript
Installation
npm install -g ts-pwgen
Good to know
- It has a default password length of 30 characters
- It uses lowercase/uppercase letters, numbers and special characters when you don't pass any arguments saying otherwise
- It uses
crypto.randomBytes()
instead ofMath.random()
. - You should try the
--verbose
flag to see how long it would take a supercomputer (10^12 pw/sec) to crack your generated password - Use
-k
if you don't like the copy-to-clipboard feature
Demo
Usage
pwgen --help
Usage: pwgen [--length 10] [--parts 3] [--delimiter "-"] [--count 3] [-aAns]
Options:
-p, --parts Define how many parts there should be
-l, --length Define the length of a part
-d, --delimiter Define the delimiter to use if there are multiple parts
-c, --count Define how many passwords to generate [Standard: 1]
-a, --ascii Use lowercase letters [boolean]
-A, --ASCII Use uppercase letters [boolean]
-n, --numbers Use numbers [boolean]
-s, --special Use special characters [boolean]
-x, --latin1 Use latin1 characters [boolean]
-v, --verbose Verbose output, see how long it would take a supercomputer to
crack your generated password(s) [boolean] [Standard: false]
-k Do not copy the password to the clipboard
[boolean] [Standard: false]
--version Display current version [boolean]
-h, --help Show help [boolean]
Examples
Custom length
pwgen -l 16
or pwgen --length 16
or pwgen --length=16
-TI)!9~GmQm~a=jj
Parts with delimiter
pwgen --parts=3 --length=5 --delimiter="-"
1TX)C-rivp<-MWvZ5
ProTip: Use parts for WiFi-friendly passwords
pwgen -p 4 -l 5 -an
jhnxp-geehp-rtz2n-3m4vt
The delimiter defaults to -
.
See how long it would take a supercomputer to crack your password
pwgen -l 16 -v
Password length: 16
Different characters: 91
Possible combinations: 2.211374397284394e+31
Required time to crack (10^12 passwords/s)
Seconds: 11056871986421970000
Years: 350566645098.98
Age of the universe: 25.71
a*aO)~}xv|4s+Z4*
Password successfully copied to clipboard!
Create multiple passwords
pwgen -c 5
@T:6Z8}5G"dIENbab^qvh;^}##LY{F
[email protected]`&Ujh;aQL0dMz%@M(IfswdLfa
[email protected]<:Ni1E>k<F>{,XvS|{Y|^W|
ZKf/][email protected]*yL6{lk}
N^)@rFD+1F-G!v%UZcxeV)FzIMfn]]
Use lowercase letters only
pwgen -a
jpgthoyjmwumnoiroqynbhywoxhjnb
Use uppercase letters only
pwgen -A
AUAYYZJXWMIKMPJGHVQSPKUGPUFTCU
Use numbers only
pwgen -n
647681199479680747570268980919
Use special characters only
pwgen -s
=<}(<>}/,_.*@:|<*++"=)^;^:|)_+
Use latin1 characters only
pwgen -x
»°ÃÑîÍí¢ÆñÓò¾ÅÚïñ°ÕÔÏúñ¼Ï´¦îÓê
Use letters and numbers (combine charsets)
pwgen -aAn
APlngye5IiXTu0z7NETffgS67bOX48
Development
Unit tests
npm test
Build from TypeScript source
npm run build
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].