對稱式密碼學,主要分為兩個大項,stream cipher 和 block cipger,下文主要會介紹block cipher其中的一個例子:DES 。
123
(Figure comes from Understanding Cryptography : A Textbook for Students and Practitioners, Christof PaarJan Pelzl)
Stream 可以想像是一次加密1個 bits,block ciphper 則是一次加密多個bits,我們稱這多個bits為一個block。
兩大主要概念被在許多密碼演算法可見。
Confusion : an encryption operation where the relationship between key and ciphertext is obscured.