https://github.com/captainepoch/caesar_cipher_converter
Simple Caesar cli tool
https://github.com/captainepoch/caesar_cipher_converter
cplusplus cpp
Last synced: 11 months ago
JSON representation
Simple Caesar cli tool
- Host: GitHub
- URL: https://github.com/captainepoch/caesar_cipher_converter
- Owner: captainepoch
- License: other
- Created: 2025-08-20T03:59:36.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-08-20T14:35:53.000Z (11 months ago)
- Last Synced: 2025-08-20T16:32:35.437Z (11 months ago)
- Topics: cplusplus, cpp
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Caesar Cipher
This is a small cli to tinker with the Caesar cipher.
Only supports ASCII alphabet (26 letters) upper and/or lower case.
# Build
```sh
$ mkdir build && cd build
$ cmake .. && cmake --build .
```
The binary output is `ccc`.
# Usage
```sh
ccc
-s shift value not greater than 26 (not mandatory with -g)
-m encode (e) or decode (d) (not mandatory with -g)
-g GUI only
-h shows the usage message
```
## Example:
Encoding with a shift value of 10:
```sh
$ ./ccc -s 10 -m e dCode Caesar
Original text = "dCode Caesar"
nMyno Mkockb
```
Decoding with a shift value of 10:
```sh
$ ./ccc -s 10 -m d nMyno Mkockb
Original text = "nMyno Mkockb"
dCode Caesar
```
GUI mode with [ImgUi][imgui]:

# LICENSE
[Modified BSD License][license].
You can find a copy of this license at [this static file][adolpw_license]
[adolpw_license]: https://adol.pw/licenses/modified_bsd_license.txt
[imgui]: https://github.com/ocornut/imgui
[license]: COPYING