10-bit key P10 LS-1 LS-1 P10: rearrange bits of 10-bit key Input order : 12 3 4 5 6 7 89 10 Output order: 3 5 27 4 10 1 9 8 6 LS1: left shift bits 1 position separately on left and right five bits Input order:1 2 3 4 5 67 8 9 10 Output order: 2 3 4 5 1 78 9 10 6 - P8: pick 8 of 10 bits and re-arrange Input order :1 2 3 45 6 7 8 9 10 Output order: 6 3 7 4 8 5 10 9 - LS2: left shift bits 2 positions separately on left and right 5 bits Input order : 1 2 3 4 5 6 7 89 10 Output order: 3 4 5 1 28 9 10 6 7 P8 K, LS-2 LS-2 P8

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Given the 10-bit key for S-DES "1 1 0 0 0 1 0 0 0 0". Find K1 and K2 for each round.

10-bit key
10
P10
LS-1
LS-1
P10: rearrange bits of 10-bit key
Input order : 12 3 4 5 6 78 9 10
Output order: 3 5 2 7 4 10 1 9 8 6
- LS1: left shift bits 1 position separately on left and right five bits
Input order: 12 3 4 5 67 89 10
Output order: 2 3 4 5 1 789 10 6
- P8: pick 8 of 10 bits and re-arrange
Input order : 1 2 3 4 5 67 8 9 10
Output order: 6 3 7 4 8 5 10 9
- LS2: left shift bits 2 positions separately on left and right 5 bits
Input order : 1 2 3 4 5 6 78 9 10
Output order: 3 4 5 1 2 89 10 6 7
P8
LS-2
LS-2
PS
Transcribed Image Text:10-bit key 10 P10 LS-1 LS-1 P10: rearrange bits of 10-bit key Input order : 12 3 4 5 6 78 9 10 Output order: 3 5 2 7 4 10 1 9 8 6 - LS1: left shift bits 1 position separately on left and right five bits Input order: 12 3 4 5 67 89 10 Output order: 2 3 4 5 1 789 10 6 - P8: pick 8 of 10 bits and re-arrange Input order : 1 2 3 4 5 67 8 9 10 Output order: 6 3 7 4 8 5 10 9 - LS2: left shift bits 2 positions separately on left and right 5 bits Input order : 1 2 3 4 5 6 78 9 10 Output order: 3 4 5 1 2 89 10 6 7 P8 LS-2 LS-2 PS
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education