Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. A) How many different Vigenere keys of length 4 are there for coding the English alphabet? The last string must be of size 2

Q1. A) How many different Vigenere keys of length 4 are there for coding the English alphabet? The last string must be of size 2 to get to 26. Please show what this cipher table with the last string of size 2 would look like.

B) Say you have an n block of bits message. You split it to 8 bits each (assume that 8 divides n). For each of the 8 bit we choose a permutation of the bits. How many different codes could come out of this? Why?

C)

image text in transcribed

For any two bits xi,yi, define xiXORyi=xi+yimod2. For two vectors, v,u, define vXORu to be the vector whose i-th bit is uiXORvi. Say that the plaintext has x bits. For the cyphertext we randomly select a random number r with x bits, (this means that all of the 2x vectors with x bits, have probability 1/2x to be selected). For a vector u, our code message is xXORr In a known plaintext attack how would you discover the key r

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

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions