Question: Write an assigned program ( in C or C++) that encrypt user inserted text then decrypt it back to the original format for a LFSR
Write an assigned program ( in C or C++) that encrypt user inserted text then decrypt it back to the original format for a LFSR that creates the generator for next LFSR. Full description of the (Classes, Structures, and functions) should be provided with the codes including evidence of testing and errors.
* The output should be like that:
Choose 1 to encrypt and 2 to decrypt Insert the generator for the 1st LFSR
.(user will enter the 8 bit binary digits)
Insert the initial value for the 1st LFSR
.(user will enter the 8 bit binary digits)
Key/generator for 2nd LFSR is:
.(the key).
Insert the initial value for the 2nd LFSR
.(user will enter the 8 bit binary digits)
Insert a text
.(user will enter a text)..
The encrypted text is :
.(encrypted text)..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
