Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkx8326/digital_caesar_cipher_with_python
The Digital Caesar Cipher with Python
https://github.com/pkx8326/digital_caesar_cipher_with_python
caesar-cipher caesar-cipher-algorithm caesar-shift cryptography encryption-decryption python
Last synced: 1 day ago
JSON representation
The Digital Caesar Cipher with Python
- Host: GitHub
- URL: https://github.com/pkx8326/digital_caesar_cipher_with_python
- Owner: pkx8326
- Created: 2022-01-26T10:36:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T10:08:47.000Z (almost 3 years ago)
- Last Synced: 2024-01-08T11:17:46.653Z (10 months ago)
- Topics: caesar-cipher, caesar-cipher-algorithm, caesar-shift, cryptography, encryption-decryption, python
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Digital_Caesar_Cipher_with_Python
This is a fun Python project to encrypt and decryp messages using the Caesar Cipher technique. The algorithm is simple. You provide a string message (in English), the program will shift all the characters in the message in a direction to a certain number. This number is the 'encryption key' provided by the user. In order to decrypt the encryted message, the user will provide the encrypted message along with its accompanying encryption key.✔️ Version 1:
The first version of this program is a very simple excercise with Python's function, for loop and list. This program can decrypt and encrypt any input from the keyboard. However, every character will be lower-cased and there will be no information about the spacing carried over from the original message.✔️ Version 2:
This version is a more realistic of the Caesar Cipher technique. It only encrypts and decrypts the 26 English alphabets. It will not give any error message if you try to encrypt the character 'z'. For example, if your message contains 'z' and your encryption key is '5', 'z' will become 'e'. The program is also capable of retaining the information about the positions of the upper-cased characters and spaces in the original message. The encrypted message will be typically 'cryptic' with all lower-cased characters and no spaces. However, the decrypted message will be exactly like the original message with proper-cased characters and all spacings originally provided by the user.There is no funtion in Version 2 because I could not (yet) retain the case and spacing informaiton from the original message with functions.
This fun project was inspired by one of the lessons in the '100 Days of Code: The Complete Python Pro Bootcamp for 2022' by Angela Yu on Udemy. You can follow the course from this link:https://www.udemy.com/course/100-days-of-code/ (not a ref. link.)