A CLI tool built with VintLang for generating passwords, OTPs, tokens, and random strings.
vvault.vint— Package with generator functionsmain.vint— CLI entry point
vint main.vint <command> <length>vint main.vint generate 16
# Generated: aKx9mBvR3nQw7pLsGenerates a password with lowercase, uppercase, digits, and special characters. Minimum length is 4.
vint main.vint password 20
# Password: aB3!xK9@mP2#nQ5&yZ8$Generates a digits-only OTP using cryptographically secure randomness.
vint main.vint otp 6
# OTP: 482031Generates a cryptographically secure hex token. The output is twice the given length (each byte = 2 hex chars).
vint main.vint token 32
# Token: a3f1b2c4d5e6f7089012abcd3456ef78a3f1b2c4d5e6f7089012abcd3456ef78# Generate a 12-character random string
vint main.vint generate 12
# Generate a secure 16-character password
vint main.vint password 16
# Generate a 6-digit OTP for verification
vint main.vint otp 6
# Generate a 32-byte hex token for API keys
vint main.vint token 32random— Random number/string generation (OTP, password, and token usecrypto/rand)cli— Command-line argument parsingos— Process exit