1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71832],{9450:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSG:()=>i,default:()=>o,meta:()=>c});var s=t(37876),r=t(91668),i=!0;let c={title:"What is Cryptanalysis?",description:"The goal of cryptanalysis is gaining knowledge of the encrypted text without the key."};function h(e){let n={br:"br",code:"code",h1:"h1",hr:"hr",img:"img",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{children:e.title}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{src:"/media/page-contents/cto/what-is-cryptanalysis.png",alt:""})}),"\n",e.description,"\n",(0,s.jsx)(n.p,{children:"A distinction is made for different attack scenarios:"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Ciphertext-only"})," ",(0,s.jsx)(n.br,{}),"\n","Only the encrypted text is known. Plaintext (and key) are looked for."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Probable Plaintext"})," ",(0,s.jsx)(n.br,{}),"\n","The encrypted text is known and one can assume that the message contained follows a certain pattern. The used key is looked for."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Known Plaintext"})," ",(0,s.jsx)(n.br,{}),"\n","An encrypted text and its plaintext is known. The goal is to determine the key."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Chosen Plaintext"})," ",(0,s.jsx)(n.br,{}),"\n","One can freely choose a text that is to be encrypted and subsequently has access to the resulting encrypted text."]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Chosen Ciphertext"})," ",(0,s.jsx)(n.br,{}),"\n","One can temporarily generate the decrypted text from an assortment of corresponding encrypted text of one's own choice."]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.p,{children:"Try a ciphertext-only attack against the Caesar cipher by performing a frequency analysis:"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"URKAG QZODK BFMPA OGYQZ FFTQD QEGXF IUXXN QETAI ZUZMZ QIEGN IUZPA IFTQF UFXQA RFTQD QEGXF UZSIU ZPAIO AZFMU ZENAF TFTQZ MYQAR FTQAD USUZM XPAOG YQZFM ZPFTQ QZODK BFUAZ WQKGE QPFTQ GEMSQ ARWQK EUEEG BBADF QPNKF IAEBQ OUMXU OAZEO XUOWU ZSFTQ UOAZE TAIWQ KMXXA IEKAG FAEFA DQMOA BKARF TQWQK GEQPR DAYMD QEGXF UZSIU ZPAIU ZFAMZ UZFQD ZMXEF ADMSQ URKAG FTQZQ ZODKB FMZAF TQDPA OGYQZ FIUFT FTQEM YQQZO DKBFU AZYQF TAPFT QUOAZ UZEQD FWQKU EMOFU HQIUF TUZFT QWQKQ ZFDKP UMXAS NAJFT UEUET QXBRG XQEBQ OUMXX KIUFT YADQO AYBXQ JWQKE"})}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Hint:"})," ",(0,s.jsx)(n.br,{}),"\n","The most frequently used character in English is ",(0,s.jsx)(n.code,{children:"E"}),". Determine the offset of the most frequently reoccurring character and of ",(0,s.jsx)(n.code,{children:"E"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["Example: The character ",(0,s.jsx)(n.code,{children:"G"})," is the most frequently used character in a text. ",(0,s.jsx)(n.code,{children:"G"})," is the 7th character of the alphabet, ",(0,s.jsx)(n.code,{children:"E"})," is the 5th. The shift value of the Caesar cipher is ",(0,s.jsx)(n.code,{children:"7-5=2"}),". The key is ",(0,s.jsx)(n.code,{children:"2"}),"."]})]})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},63584:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/en/cto/info/cryptanalysis",function(){return t(9450)}])}},e=>{e.O(0,[90636,46593,38792],()=>e(e.s=63584)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.