- 68
- 0
- 约1.53万字
- 约 6页
- 2017-04-13 发布于江苏
- 举报
Caesar cipher - Wikipedia
Caesar cipher 1
Caesar cipher
The action of a Caesar cipher is to replace each plaintext letter with one fixed number of places down the alphabet. This example is
with a shift of three, so that a B in the plaintext becomes E in the ciphertext.
Detail
Structure substitution cipher
Best public cryptanalysis
Susceptible to frequency analysis and brute force attacks.
In cryptography, a Caesar cipher, also known as a Caesars cipher, the shift cipher, Caesars 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 shift of 3, A would be replaced by D, B would become E, and so on. The method is named after Julius
Caesar, who used it to communicate with his generals.
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 practice offers essentially no communication security.
Example
The transformation can be represented by aligning two alphabets; the cipher alphabet is the plain alphabet rotated left
or right by some number of positions. For instance, here is a Caesar cipher using a left rotation of three places (the
shift parameter, here 3, is used as the key):
Plain: ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher: DEFGHIJKLMNOPQRSTUVWXYZABC
When encrypting, a person looks up each letter of the message in the plain line and writes down the corresponding
letter in the cipher line. Deciphering is done in reverse.
Ciphertext: WKH TXLFN EURZQ IRA MXPSV RYHU WKH ODCB GRJ
Plaintext: the quick brown fox jumps over the lazy dog
The encryption can also be represented using modular arithmetic by first transforming the letters into numbers,
according to the scheme, A = 0,
您可能关注的文档
- B3SL-1002P;B3SL-1022P;中文规格书,Datasheet资料.pdf
- B5U4 period 3 learning about the language(完整免费).ppt
- B3942 data sheet(revise)MOS管规格书.pdf
- b4 U 4 Warming up & Reading.ppt
- B3SN-3012P;B3SN-3112P;B3SN-3012;中文规格书,Datasheet资料.pdf
- baby-jumping festival.ppt
- B82422H1684K;B82422H1103K;B82422H1102K;B82422H1223K;B82422H1222K;中文规格书,Datasheet资料.pdf
- B85-PRO_Gamer主板说明书.pdf
- BACKGROUND STUDIO-BASED LEARNING.pdf
- Babycook 食谱.pdf
- 2025年新能源汽车铝合金型材表面处理报告.docx
- 2025_2026学年新教材高中历史第四单元资本主义制度的确立9资产阶级革命与资本主义制度的确立课时作业含解析新人教版必修中外历史纲要下.doc
- 2026版高考历史一轮训练课后限时集训10近代西方民主政治的确立与发展含解析人民版.doc
- 2025年光伏支架轻量化研发趋势与材料创新报告.docx
- 2025_2026学年新教材高中英语UNIT3SPORTSANDFITNESS预习新知早知道学案含解析新人教版必修第一册.doc
- 初中道德与法治八年级上册《爱我中华》单元教学设计(1).docx
- Unit9IlikemusicthatIcandancetoSectionA(3a3c)(教学课件)人教版(0)九年级英语全册().pptx
- 四年级下册《我的“自画像”》习作指导课教学设计——基于例文支架的精准表达训练.docx
- 星火燎原:新中国“两弹一星”伟业的奠基与精神传承.docx
- 中考英语一轮复习:解锁单项选择的逻辑与策略(第一讲).docx
原创力文档

文档评论(0)