Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Caesar cipher

From Simple English Wikipedia, the free encyclopedia
The Caesar cipher is named forJulius Caesar.

Incryptography, aCaesar cipher is an ancient form ofsubstitution cipher. It is named in the honor of theRoman emperor,Julius Caesar.[1]

Method

[change |change source]

To encrypt a message with a Caesar cipher, each letter in the message is changed using a simple rule: shift by three. Each letter is replaced by the letter three letters later in thealphabet. A becomes D, B becomes E, and so on. For the last letters, we can think of the alphabet as a circle and "wrap around". W becomes Z, X becomes A, Y becomes B, and Z becomes C. To change a message back, each letter is replaced by the one three before it.

Weakness

[change |change source]

However, it is very easy to break a Caesar cipher, even if you change the "key number" to a different number.[2] Using a more modern form of encryption would be better.

The Caesar cipher rule

Changing by three is the rule that the well known Julius Caesar used, but the same idea works for any number.ROT13 can be seen as a modern version of the Caesar cipher, with the same weaknesses.

The Caesar cipher is asubstitution cipher: each letter is replaced by another. No substitution cipher is safe for sensitive information.

References

[change |change source]
  1. "Learn Cryptography - Caesar Cipher".learncryptography.com. Retrieved2019-10-06.
  2. Eisele, Robert."Cracking a Caesar cipher".raw.org. Retrieved2024-03-24.
Retrieved from "https://simple.wikipedia.org/w/index.php?title=Caesar_cipher&oldid=10414936"
Category:

[8]ページ先頭

©2009-2026 Movatter.jp