Assignment 3
Assignment 3
18-Arid-2792
BSIT 5-B Morning
Introduction to DES:
The Data Encryption Standard (DES) was jointly developed in 1974 by IBM and the U.S.
government (US patent 3,962,539) to set a standard that everyone could use to securely
communicate with each other. It operates on blocks of 64 bits using a secret key that is 56 bits
long. The original proposal used a secret key that was 64 bits long. It is widely believed that the
removal of these 8 bits from the key was done to make it possible for U.S. government agencies
to secretly crack messages. DES started out as the "Lucifer" algorithm developed by IBM. The
US National Security Agency (NSA) made several modifications, after which it was adopted as
Federal Information Processing Standard (FIPS) standard 46-3 and ANSI standard X3.92.
It was a superb algorithm of its time. But at the starting of the 21st century, the DES appeared to
be insecure. The main reason was the length of its short secret key.Furthermore, DES can be a
victim of attack using the linear cryptanalysis
This secret key encryption algorithm uses a key that is 56 bits, or seven characters long. At the
time it was believed that trying out all 72,057,594,037,927,936 possible keys (a seven with 16
zeros) would be impossible because computers could not possibly ever become fast enough. In
1998 the Electronic Frontier Foundation (EFF) built a special-purpose machine that could
decrypt a message by trying out all possible keys in less than three days. The machine cost less
than $250,000 and searched over 88 billion keys per second.
DES Tables Design:
Permutation Tables for DES:
Definition of DES S-Boxes:
DES Key Schedule Calculation: