The Caesar Cipher program is designed to encode / decode text. The encoding and decoding uses a standard 2-character left shift. This method was used by Julius Caesar himself.
To use the program, you must specify the name of the operation and pass a string.
Usage:
python main.py [options] <your_text>
Options:
e, encode For encoding
d, decode For decoding
<your_text> The program supports the English
and Russian alphabets.
The entered text must be typed in
one language.
File name | Content |
---|---|
data/ | Directory with files with alphabets |
src/ | Directory with files with functions |
test/ | Directory with test files |
.gitignore | Hiding files and folders from Git |
.travis.yml | Description of Travis-ci options |
select_alphabet.py | Alphabet selection module based on input data |
decoding.py | Data decoding module |
encoding.py | Data encoding module |
main.py | Running the program |
test_*.py | Tests |
tox.ini | Auto test configuration file |
- Implement passing a text file as an accepted parameter.
- Setting the key for encoding / decoding at the request of the user.
- Determine whether an encoded text or a text file was transmitted during the decoding operation.
- Add support for other languages.