7.2 A Simplified DES-Type Algorithm

The DES algorithm is rather unwieldy to use for examples, so in the present section we present an algorithm that has many of the same features, but is much smaller. Like DES, the present algorithm is a block cipher. Since the blocks are encrypted separately, we assume throughout the present discussion that the full message consists of only one block.

The message has 12 bits and is written in the form L0R0, where L0 consists of the first six bits and R0 consists of the last six bits. The key K has nine bits. The ith round of the algorithm transforms an input Li1Ri1 to the output LiRi using an eight-bit key Ki derived from K.

The main part of the encryption process is a function f(Ri1, Ki) that takes a six-bit ...

Get Introduction to Cryptography with Coding Theory, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.