apg
Generate random passwords
TLDR
Generate random passwords
SYNOPSIS
apg [-a algorithm] [-m min] [-x max] [-M mode] [-E chars] [options]
DESCRIPTION
apg (Automated Password Generator) creates random passwords using either a pronounceable password algorithm (based on phoneme sequences) or completely random characters.
Pronounceable passwords are easier to remember but potentially less secure. Random passwords offer maximum entropy but are harder to memorize.
PARAMETERS
-a algorithm
Algorithm: 0=pronounceable, 1=random-m length
Minimum password length-x length
Maximum password length-n count
Number of passwords to generate-M mode
Character classes: S=special, N=numeric, C=capital, L=lowercase-E chars
Exclude specific characters-c file
Check against dictionary file-q
Quiet mode (passwords only)-s
Prompt for random seed-l
Spell pronounceable passwords
CAVEATS
Pronounceable passwords may have patterns that reduce entropy. For high-security applications, use random mode with sufficient length. Output goes to terminal; pipe to clip for clipboard.
HISTORY
apg was created by Adel I. Mirzazhanov, implementing both random and pronounceable password generation algorithms for Unix systems.
