Question: Problem: Design an 8 - Bit XOR Encryption Circuit with Key Shifting Using the knowledge of a one - time pad encryption. Design a digital
Problem: Design an Bit XOR Encryption Circuit with Key Shifting
Using the knowledge of a onetime pad encryption. Design a digital circuit using
registers and combinational logic. The circuit should encrypt an bit input using an
bit binary key through XOR operations and provide functionality for cyclic key
shifting.
a Part : Basic Encryption Circuit
Specifications:
i Inputs:
Data Input: An bit binary number to be encrypted.
Key Input: An bit binary key used for the encryption.
Start Signal: A signal that indicates the start of the encryption process.
ii Encryption Logic:
Implement XOR Exclusive OR operations bitbybit between the Data
Input and the Key Input.
The output should be the bit result of these XOR operations.
iil. Output:
An bit encrypted output.
iv Registers and Storage:
Include registers to store the Data Input, Key Input, and the encrypted
output.
b Part : Key Shifting Enhancement
i Inputs:
Additional Input Shift Value:
An integer specifying the number of bits to cyclically shift the Key Input.
The shift can be either left or right, as per your design choice. It does
not have to do both type of shifts, just one.
ii Modified Encryption Logic:
Before performing the XOR operations, cyclically shift the Key Input by
the specified number of bits.
The shift is cyclical, so the bits should wrap around.
Then proceed with the XOR operations as in Part
Deliverables:
Provide a detailed circuit diagram for each part.
Clearly indicate the components registers XOR gates, muxes, shift logic and
their interconnections. You can use D flipflops and muxes without specifying
how they are built, but show all other parts down to the gate level.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
