Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6 Task Six: Synchronous Cipher ( 2 marks ) The following stream cipher operates on character A - Z one at a time. A character

6 Task Six: Synchronous Cipher (2 marks)
The following stream cipher operates on character A-Z one at a time. A character A-Z is mapped
to Z26=0,1,2,...,25 in the usual way. For a key k Z26, a key stream k1k2k3 is generated by
the following rule:
For a message =12...
, where in 26, the ciphertext =12...
is calculated as
follows:
Your tasks are:
ci = mi + ki (mod 26)
Describe the decryption algorithm.
Implement the above algorithm, for both encryption and decryption.
Encrypt the message I LOVE WOLLONGONG" with key =3.
Decrypt the ciphertext MQJJ with key =3.

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

More Books

Students also viewed these Databases questions