









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Cipher follows a well known standard Single key is used that is kept private
Block Inputs Each block consist of 8 bits
Block Outputs Each Block consist of 8 bits
There are two stages of encryption
Requires a key for each stage One option is to use16 bit key with two 8 bits sub-keys Another option is to use a single 8 bit key S-DES uses a 10 bit key, and two 8-bit sub keys are generated to satisfy the requirement
Step-1 Sub Keys generation Generation of two sub-keys k 1 & K 2 each of 8-bit length Step-2 Encryption Plaint text is divided into two halves Left and Right Left half is encrypted using K1 where Right half is encrypted using K Step-3 Decryption Cipher text is divided into two halves Left half is decrypted using K1 where Right half is encrypted using K
S-DES..
Example:
Input
Ouput
K 1 K 2 K 3 K 4 K 5 K 6 K 7 K 8 k 9 k 10
K 3 K 5 K 2 K 7 K 4 K 10 K 1 K 9 k 8 k 6
K 1 K 2 K 3 K 4 K 5 K 6 K 7 K 8 k 9 k 10
K 3 K 5 K 2 K 7 K 4 K 10 K 1 K 9 k 8 k 6
2 bit shift
LS-1 (first five bits) LS-1 (10000) (00001)
LS-1 (remaining five bits) LS-1 (01100) (11000)
Key becomes (01100 11000)
8 bit block
8 bit Block
IP ( IP-1(x) ) = x
S-DES Encryption
S-DES Encryption
Four bits for each of the s box
First and fourth input bit specify row
Second and third input bit specify column
Output is a two bit value