Skip to content

amundsno/caesar-cipher-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar Cipher

A simple CLI implementing the Caesar cipher for the Norwegian alphabet (i.e. including the letters æ, ø, and å following z).

Quickstart

To build the binary, run:

go build -o caesar cmd/main.go

To use it natively, move it to a directory included in $PATH or extend $PATH to include this directory.

export PATH="$(pwd):$PATH"

Examples

# 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

About

Simple tool built to explore native CLI parsing in Go.

Topics

Resources

License

Stars

Watchers

Forks

Languages