https://github.com/josgard94/caesarcipher
In this project I develop a plaintext file encryption using shift encryption or César encryption, this project was implemented in the Python programming language.
https://github.com/josgard94/caesarcipher
caesarcipher cesar-crypto cesar-cypher criptografia criptography encryption python3
Last synced: 7 months ago
JSON representation
In this project I develop a plaintext file encryption using shift encryption or César encryption, this project was implemented in the Python programming language.
- Host: GitHub
- URL: https://github.com/josgard94/caesarcipher
- Owner: josgard94
- License: cc0-1.0
- Created: 2020-03-18T23:49:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T23:55:48.000Z (over 5 years ago)
- Last Synced: 2025-01-21T21:35:07.156Z (9 months ago)
- Topics: caesarcipher, cesar-crypto, cesar-cypher, criptografia, criptography, encryption, python3
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CaesarCipher
Author: Edgard Diaz
Date: 17th march 2020
In this project I develop a plaintext file encryption using shift encryption or César encryption,
this project was implemented in the Python programming language.To perform the Caesar cipher, the alphabet can be represented by modular arithmetic
by first transforming the letters into numbers, as shown below, A → 0, B → 1, ..., Z → 25.
Based on this, you can perform encryption of a letter x using an n-letter offset,
and such encryption can be described mathematically as (1):E_n(x) = (x + n) % 61 (1)
The decryption process is performed in a similar way using (2)
D_n(x) = (x - n) % 61 (2)
It is worth mentioning that the cipher considers the use of an alphabet of letters
from A to Z lowercase and uppercase, as well as the numbers from zero to nine.