answersLogoWhite

0

How does DES work?

Updated: 4/28/2022
User Avatar

Arnos

Lvl 1
15y ago

Best Answer

Encryption of a block of the message takes place in 16 stages or rounds. From the input key, sixteen 48 bit keys are generated, one for each round. In each round, eight so-called S-boxes are used. These S-boxes are fixed in the specification of the standard. Using the S-boxes, groups of six bits are mapped to groups of four bits. The contents of these S-boxes has been determined by the U.S. National Security Agency (NSA). The S-boxes appear to be randomly filled, but this is not the case.Recently it has been discovered that these S-boxes, determined in the 1970s, are resistant against an attack called differential cryptanalysis which was first known in the 1990s. The block of the message is divided into two halves. The right half is expanded from 32 to 48 bits using another fixed table. The result is combined with the subkey for that round using the XOR operation. Using the S-boxes the 48 resulting bits are then transformed again to 32 bits, which are subsequently permutated again using yet another fixed table. This by now thoroughly shuffled right half is now combined with the left half using the XOR operation. In the next round, this combination is used as the new left half. The figure should hopefully make this process a bit more clear. In the figure, the left and right halves are denotes as L0 and R0, and in subsequent rounds as L1, R1, L2, R2 and so on. The function f is responsible for all the mappings described above.

The algorithm is repeated 16 times to produce the ciphertext. It has been found that the number of rounds is exponentially proportional to the amount of time required to find a key. So, as the number of rounds increases, the security of the algorithm increases exponentially. Encryption of a block of the message takes place in 16 stages or rounds. From the input key, sixteen 48 bit keys are generated, one for each round. In each round, eight so-called S-boxes are used. These S-boxes are fixed in the specification of the standard. Using the S-boxes, groups of six bits are mapped to groups of four bits. The contents of these S-boxes has been determined by the U.S. National Security Agency (NSA). The S-boxes appear to be randomly filled, but this is not the case. Recently it has been discovered that these S-boxes, determined in the 1970s, are resistant against an attack called differential cryptanalysis which was first known in the 1990s. The block of the message is divided into two halves. The right half is expanded from 32 to 48 bits using another fixed table. The result is combined with the subkey for that round using the XOR operation. Using the S-boxes the 48 resulting bits are then transformed again to 32 bits, which are subsequently permutated again using yet another fixed table. This by now thoroughly shuffled right half is now combined with the left half using the XOR operation. In the next round, this combination is used as the new left half. The figure should hopefully make this process a bit more clear. In the figure, the left and right halves are denotes as L0 and R0, and in subsequent rounds as L1, R1, L2, R2 and so on. The function f is responsible for all the mappings described above.

The algorithm is repeated 16 times to produce the ciphertext. It has been found that the number of rounds is exponentially proportional to the amount of time required to find a key. So, as the number of rounds increases, the security of the algorithm increases exponentially.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does DES work?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What actors and actresses appeared in The Des Bishop Work Experience - 2004?

The cast of The Des Bishop Work Experience - 2004 includes: Des Bishop as himself Thomas Larkin as Boy On Street


What Roger Des Roches work as?

Novelist and Poet


What are the ratings and certificates for The Des Bishop Work Experience - 2004?

The Des Bishop Work Experience - 2004 is rated/received certificates of: Ireland:15 (DVD rating)


What restaurant can you work in at age 14 in Des Moines?

McDonald's


What has the author Des Kelly written?

Des Kelly has written: 'Making national vocational qualifications work for social care' -- subject(s): Social service, Supervision of social workers, Team work, Teamwork


How much des it cost to rebuild a 2002 ford engine?

Parts and machine work? $1000


How did Des Lynam famously begin his coverage of the 1998 World Cup?

Good afternoon, shouldn't you be at work?


Where can a 13 year old work in Des Moines?

Nowhere. Thirteen year olds are not legally allowed to work. You have to be at LEAST fifteen, I believe, and then you have to get a work permit signed by your school and parents.


What is sandles shoe's in french?

Shoessee fournit des sandales, des mocassins plats, des baskets, des escarpins, des talons et des bottes de bonne qualité au prix le plus abordable cutt.ly/djzW9VO


What has the author A Audiganne written?

A. Audiganne has written: 'La nouvelle loi sur le travail des enfants' -- subject(s): Child labor, Work and family 'La lutte industrielle des peuples'


How des a car ran on ethanol work?

The same way a gasoline car does, albeit with a different fuel type.


What has the author Joseph A Schwane written?

Joseph A. Schwane has written: 'Histoire des dogmes ...' 'Histoire des dogmes ..' 'Histoire des dogmes ...' 'Histoire des dogmes ...' 'Histoire des dogmes ...' 'Histoire des dogmes ...' 'Histoire des dogmes ...' -- subject(s): Accessible book 'Histoire des dogmes ...' 'Histoire des dogmes ...' 'Histoire des dogmes ...'