# Data encryption (abstract) ## Different coding system(編碼&數字系統) ## Encode / decode(編解碼的意義與方式) ### 歷史 ### 對稱/非對稱 ## Algorithm(演算法運用) ## Example ### Caesar cipher ### Enigma cipher ### XOR cipher ### Matrix $$ DOG \rightarrow [3, 14, 6] $$ $$ \begin{bmatrix} 1 & 2 & 3 \\ 6 & 0 & 4 \\ 7 & 8 & 9 \\ \end{bmatrix} \begin{bmatrix} 3 \\ 14 \\ 6 \\ \end{bmatrix} = \begin{bmatrix} 49 \\ 42 \\ 187 \\ \end{bmatrix} = \begin{bmatrix} 23 \\ 16 \\ 5 \\ \end{bmatrix} mod 26 $$ $$ [23, 16, 5]\rightarrow XQF $$ ### RSA $c = n^e (mod N)$ ### DES, SHA ## Let's play ## End