https://github.com/subhajitroycode/caesar-cipher
This is fun project of Caesar Cipher 🤩
https://github.com/subhajitroycode/caesar-cipher
Last synced: 8 months ago
JSON representation
This is fun project of Caesar Cipher 🤩
- Host: GitHub
- URL: https://github.com/subhajitroycode/caesar-cipher
- Owner: subhajitroycode
- Created: 2021-12-27T09:05:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T09:07:51.000Z (about 1 year ago)
- Last Synced: 2025-02-23T10:19:27.118Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://subhajitroycode.github.io/caesar-cipher/
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caesar Cipher
This is fun project of Caesar Cipher 🤩
## A Little bit about Caesar Cipher
In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence.
The encryption step performed by a Caesar cipher is often incorporated as part of more complex schemes, such as the Vigenère cipher, and still has modern application in the ROT13 system. As with all single-alphabet substitution ciphers, the Caesar cipher is easily broken and in modern practice offers essentially no communications security.

## Example
For example, in the following joke, the punchline has been obscured by ROT13:
Why did the chicken cross the road?
Gb trg gb gur bgure fvqr!
Transforming the entire text via ROT13 form, the answer to the joke is revealed:
Jul qvq gur puvpxra pebff gur ebnq?
To get to the other side!
A second application of ROT13 would restore the original.