Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

=+j Explain the relationship between unions and MNEs.

Answered: 1 week ago