Question: Problem 5 Design and implement a simple stream cipher. (Note: you may modify RC4, or you may implement RC4 directly.) a. Design a simple Stream

Problem 5 Design and implement a simple stream cipher. (Note: you may modify RC4, or you may implement RC4 directly.) a. Design a simple Stream Cipher: a) Encrypt a byte (8 bits) at a time. b) Key size: 256 bits. b. Implement your Stream Cipher: a) Show a demo by performing encryption on a plaintext: pick whatever plaintext youd like to encrypt (e.g., thishomework, excluding spaces). Convert it to binary numbers (or HEX) for encryption. b) Stream Key: this key is the input to your algorithm, not to encrypt plaintext. Set the key to all 1s. c) Salt: generate pseudo-random values to salt your key. For example, = . Remember to save the since you need them for decryption. d) Perform the decryption correspondingly. c. Performance analysis: a) Encrypt 1000 times and record the computational time. i. Report your computer configurations (CPU clock speed, RAM, programming language used, etc.) ii. Feel free to change running iterations to get a good evaluation on computational time. Design only option for Problem 5: If you choose to design only, please show the details of your designed functions (block diagrams), etc. And provide analysis on the security of your design. For example, how often the keystream will repeat? How random the keystream would be? Etc.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!