Skip to content

ricardodoberstein/cpp-caesar-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Caesar Cipher

This project was made by learning purposes, it uses plain c++ with no libraries whatsoever.

Requirements

  • CMake

Usage

Usage: {executable} <command>
where <command> is one of:
            --help  (display information)
            -d       Decode a file
            -e       Encode a file
            --shift  (required) How much to shift
            --path   (required) Path to file for processing
            --output (optional) filename to output decoded or encoded .txt

Example

./CaesarCipher -e --path ./input.txt --output myOutput --shift 5
./CaesarCipher -d --path ./myOutput.txt --output output --shift 5

Compilation

mkdir build
./build.sh

Running tests

./test.sh

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Caesar Cipher implementation in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published