[EN] Symmetric Algorithm - feistel vs SPN
☝ Symmetric-Key Block Cipher Designed to satisfy properties such as diffusion that hide the relationship between plaintext and ciphertext and confusions that hide the relationship between ciphertext and keys. P-box(Permutation box) 1. Straight P-box : n=m 2. Expansion P-box : n<m 3.Compression P-box : n>m (n-number of input bit // m-number of output bit) (p-box is used for expansion of number of bits for many cases) (no inverse function exists) S-box(Substitution box) n=m or n<>m(inverse function could be possibly existed or not) 1. shift 2. swap 3. split 4. combine 5. exclusive-OR ☝ Product Cipher Product cipher is combine of the components of a p-box and s-box in order to cover two properties( Diffusion + Confusion). 1. Feistel Cipher There's two set : ant sets(working), grasshopper set(resting). Only doing XOR and take it to swap is what grasshopper...