@kszongic/caesar-cli
v1.0.0
Published
Caesar cipher encryption and decryption CLI tool
Maintainers
Readme
@kszongic/caesar-cli
Caesar cipher encryption & decryption from the command line. Zero dependencies.
Install
npm i -g @kszongic/caesar-cliUsage
# Default ROT13
caesar "Hello World"
# Uryyb Jbeyq
# Custom shift
caesar -s 3 "ATTACK AT DAWN"
# DWWDFN DW GDZQ
# Decrypt
caesar -d -s 3 "DWWDFN DW GDZQ"
# ATTACK AT DAWN
# Brute-force all 25 shifts
caesar -b "KHOOR ZRUOG"
# Pipe input
echo "secret message" | caesarOptions
| Flag | Description |
|------|-------------|
| -s, --shift <n> | Shift amount (default: 13) |
| -d, --decrypt | Decrypt (reverse shift) |
| -b, --brute | Brute-force all 25 shifts |
| -h, --help | Show help |
License
MIT © 2026 kszongic
