A simple CLI implementing the Caesar cipher for the Norwegian alphabet (i.e. including the letters æ, ø, and å following z).
To build the binary, run:
go build -o caesar cmd/main.goTo use it natively, move it to a directory included in $PATH or extend $PATH to include this directory.
export PATH="$(pwd):$PATH"# Input piped from STDIN, encrypted output to STDOUT
cat file.txt | caesar -e 5
# Specify input file to decrypt and output file
caesar -d -i encrypted.txt -o decrypted.txt 4