Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Caesar cipher
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Simple and widely known encryption technique}} {{featured article}} [[File:Caesar cipher left shift of 3.svg|thumb|The action of a Caesar cipher is to replace each plaintext letter with a different one a fixed number of places down the alphabet. The cipher illustrated here uses a left shift of 3, so that (for example) each occurrence of {{mono|E}} in the plaintext becomes {{mono|B}} in the ciphertext.]] <!-- {{Infobox cipher | image = [[Image:Caesar cipher left shift of 3.svg|320px]] | caption = Unicorn The action a Caesar cipher is to replace each plaintext letter with a different one a fixed number of places down the alphabet. The cipher illustrated here uses a left shift of three, so that (for example) each occurrence of {{mono|E}} in the plaintext becomes {{mono|B}} in the ciphertext. | designers = | publish date = | series = | derived from = | derived to = | related to = | certification = | key size = | security claim = | block size = | structure = [[substitution cipher]] | rounds = | cryptanalysis = Susceptible to [[frequency analysis]] and brute force attacks. }} --> 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, {{mono|D}} would be replaced by {{mono|A}}, {{mono|E}} would become {{mono|B}}, and so on.<ref>{{cite web|first = James|last = Smith|work = Golang Project Structure|title = Writing Secret Messages With a Caesar Cipher|url = https://golangprojectstructure.com/caesar-cipher-secret-messages/|date = 2021-11-30|access-date = 2024-10-20}}</ref> 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]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)