πŸ“¦ basicx-StrgV / Caesar

Simple Caesar cipher

β˜… 0 stars β‘‚ 0 forks πŸ‘ 0 watching
πŸ“₯ Clone https://github.com/basicx-StrgV/Caesar.git
HTTPS git clone https://github.com/basicx-StrgV/Caesar.git
SSH git clone git@github.com:basicx-StrgV/Caesar.git
CLI gh repo clone basicx-StrgV/Caesar
basicx-StrgV basicx-StrgV Update README.md e1d4164 3 years ago πŸ“ History
πŸ“‚ main View all commits β†’
πŸ“ images
πŸ“ src
πŸ“„ .gitattributes
πŸ“„ .gitignore
πŸ“„ README.md
πŸ“„ README.md

Caesar

What is this project

This project was a small school assignment as part of my vocational training. Therefore this is not a finished product and the application is not optimized. This repository is intended as a reference and archive.

What does it do

The goal of this assignment was to create a small program that encrypts and decrypts text with the Caesar cipher.

To accomplish this I created a β€œCaesarCharset” that implements the charset as a looping list, that can loop in both directions. The charset also implements the shift value and a value that indicates how often the encryption/decryption should run on a string. With this the shift value can be over 9000 on a char set that has just 100 entries and the encryption/decryption can be run multiple times on a string before it is returned.

This is also done to make the encryption a little β€œsafer”, because to decrypt it the charset, shift value and the number of encryption runs needs to be known. But this does not change the fact that the caesar cipher is highly insecure and should not be used to encrypt sensitive data.

sample image