The Feistel cipher is a symmetric block cipher encryption framework which is the basis of many modern day encryption algorithms. In this coursework you will implement a Feistel cipher system as a hardware component and as a software implementation. In a Feistel cipher the plaintext, P, to be encrypted is split into two equal size parts Lo and Ro such that P with a key, and the result is XOR'd with the other half of the plaintext. Feistel ciphers often employ multiple rounds of this scheme. In general the scheme works as follows, for all i = 0, . .. ,n, Lo Ro. A function F is applied to one half of the plaintext, combined L+1 = R; R4+1 = L, & F(R, K;) To decrypt an encrypted message using this cipher we can apply the same procedure in reverse. For i = n, n – 1, .,0, R, = L,+1 L; = R.-1 © F(L+1, K.) For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds. The function F(A, B) = AÐB. The keys are derived from a single 8-bit key Ko such that, %3D Ko = b,bebzb4b3b2bībo K1 = bsbzbab3b2b,bob, K2 = b;b,bzb½b,bobyb6 K3 = b4b3b2b,bob7bebs

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
The Feistel cipher is a symmetric block cipher encryption framework which is the basis
of many modern day encryption algorithms. In this coursework you will implement a
Feistel cipher system as a hardware component and as a software implementation. In a
Feistel cipher the plaintext, P, to be encrypted is split into two equal size parts Lo and
Ro such thatP = L,Ro- A function F is applied to one half of the plaintext, combined
with a key, and the result is XOR'd with the other half of the plaintext. Feistel ciphers
often employ multiple rounds of this scheme. In general the scheme works as follows, for
all i = 0, .. . , n,
L;+1= R;
R+1 = L; © F(R, K;)
To decrypt an encrypted message using this cipher we can apply the same procedure
in reverse. For i = n, n – 1, . , 0,
R; = L,+1
Lat1
L, = R,-1 e F(L,-1, K.)
For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds.
The function F(A, B) = AOB. The keys are derived from a single 8-bit key Ko such that,
Ko = b,b6b;b4b3bzbi bo
K1 = b6b5b,b3b2bibob,
K2 = b;b,bzb,b,bob-b6
K3 = b,b3b2b1bob-b6b5
1
Transcribed Image Text:The Feistel cipher is a symmetric block cipher encryption framework which is the basis of many modern day encryption algorithms. In this coursework you will implement a Feistel cipher system as a hardware component and as a software implementation. In a Feistel cipher the plaintext, P, to be encrypted is split into two equal size parts Lo and Ro such thatP = L,Ro- A function F is applied to one half of the plaintext, combined with a key, and the result is XOR'd with the other half of the plaintext. Feistel ciphers often employ multiple rounds of this scheme. In general the scheme works as follows, for all i = 0, .. . , n, L;+1= R; R+1 = L; © F(R, K;) To decrypt an encrypted message using this cipher we can apply the same procedure in reverse. For i = n, n – 1, . , 0, R; = L,+1 Lat1 L, = R,-1 e F(L,-1, K.) For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds. The function F(A, B) = AOB. The keys are derived from a single 8-bit key Ko such that, Ko = b,b6b;b4b3bzbi bo K1 = b6b5b,b3b2bibob, K2 = b;b,bzb,b,bob-b6 K3 = b,b3b2b1bob-b6b5 1
For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds.
The function F(A, B) = AO B. The keys are derived from a single 8-bit key Ko such that,
Ko = b-b6b5b,b3bzb, bo
K, = bgbzb,b3b2bibob7
Ко
K2 = bzb4b3b,b,bob,be
K3 = b,bzbzb1bob7bob5
1
1. Produce an implementation, in HDL, of the described Feistel encryption scheme. The
chip should have the following preamble.
CHIP FeistelEncryption {
IN plaintext [16], key[8];
OUT ciphertext [16];
PARTS:
Transcribed Image Text:For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds. The function F(A, B) = AO B. The keys are derived from a single 8-bit key Ko such that, Ko = b-b6b5b,b3bzb, bo K, = bgbzb,b3b2bibob7 Ко K2 = bzb4b3b,b,bob,be K3 = b,bzbzb1bob7bob5 1 1. Produce an implementation, in HDL, of the described Feistel encryption scheme. The chip should have the following preamble. CHIP FeistelEncryption { IN plaintext [16], key[8]; OUT ciphertext [16]; PARTS:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY