Substitution & Permutation : 치환 & 확산

Simple Substitution


image.png

➡️ Plaintext에서 “+3” 만큼 shift(이동)해서 Ciphertext생성

Not-so-Simple Substitution


image.png

➡️ key 값을 랜덤으로 하나 설정

변수 x에 n(=key) 값을 더한 후, 나머지를 Ciphertext 값으로 지정

Even-less-Simple Substitution


image.png

➡️ Shift를 사용하지 않고, 무작위로 테이블 생성