Question

Suppose an LFSR of degree 5 is used as a stream cipher and the following plaintext...

Suppose an LFSR of degree 5 is used as a stream cipher and the following plaintext
m and ciphertext c is known:

m = 00100 11000, c = 10110 01110.

Compute the feedback polynomial, the characteristic polynomial, the period and
the complete keystream.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Stream Cipher

  • A stream cipher is a symmetric key cipher where plain text digits are combined with a pseudorandom cipher digit stream(keystream).
  • In stream cipher, each plaintext digit is encrypted one at a time with the corresponding digit of keystram to give a digit of cipher text stream.
  • stream cipher encrypt one bit at a time.
  • Encryption : ciphertext = plaintext XOR keystream
  • Decryption : plaintext = ciphertext XOR keystream

Linear Feedback Shift Register (LFSR):

  • A LFSR is a shift register whose input bit is a linear function of its previous state.
  • The most commonly used linear function of single bits is exclusive-or(XOR).
  • LFSR based stream ciphers are popular because of their low hardware implementation cost.
  • LFSR is popularly known as Pseudo random number generator. The random numbers repeat itself after 2^n-1 clock cycle ( where n is the number of bits in LFSR)
  • A standard ploynomial function : x^8+x^7+x^6+x^4+x^2+1 is used to generate random numbers.
  • 8 bit Linear feedback shift register uses 8 D- Flipflops and xor gate and LFSR uses asynchronous reset.

Feedback Polynomial and Characteristic polynomial:

  • the ouput sequence of an LFSR is Uniquely determined by its feedback coefficients and its initial state.
  • The feedback coefficients c1,c2,...........cL of an LFSR of length L are usually represented by the lfsr feedback polynomial ( connection polynomial) defined by P(X) = 1 - ciXi.
Add a comment
Know the answer?
Add Answer to:
Suppose an LFSR of degree 5 is used as a stream cipher and the following plaintext...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Use the 3-bit block cipher in the table below to answer the following. Suppose the...

    2. Use the 3-bit block cipher in the table below to answer the following. Suppose the (a) Use the block cipher without cipher-block chaining (CBC) to encrypt the message (b) Suppose Trudy intercepts the ciphertext. Further suppose she knows that the text was plaintext is m 011011011. What is the resulting ciphertext? encrypted with a 3-bit block cipher without CBC, but she does not know the specific cipher. What can she determine about the original message? (c) Now use the...

  • Be sure to include the Karnaugh map used for each solution in the Word or PDF...

    Be sure to include the Karnaugh map used for each solution in the Word or PDF file you will submit in Review Quiz Part 2. For the following function: f(A,B,C,D,E) = m(16, 17, 21, 22, 24, 28) + d(0,4,8, 12, 18, 25, 27) (a) Complete the truth table. (16 points) ABCDE 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001 11010 11011 11100...

  • Implement the RC4 stream cipher in C++. User should be able to enter any key that is 5 bytes to 3...

    Implement the RC4 stream cipher in C++. User should be able to enter any key that is 5 bytes to 32 bytes long. Be sure to discard the first 3072 bytes of the pseudo random numbers. THE KEY OR THE INPUT TEXT MUST NOT BE CODED IN THE PROGRAM. Test your program with the following plain text: In cryptography, RC4 (Rivest Cipher 4 also known as ARC4 or ARCFOUR meaning Alleged RC4) is a stream cipher. While remarkable for its...

  • 3) Out of the following, name which kind of attack you carried out in part 1...

    3) Out of the following, name which kind of attack you carried out in part 1 and part2: a. ciphertext only, b. known plaintext, c. chosen plaintext, d. chosen ciphertext. Explain your answer Problem 3 10 points] A 4-bit long message was encrypted using one-time pad to yield a cipher-text “1010” Assuming the message space consists of all 4-bit long messages, what is the probability that the corresponding plaintext was “1001”? Explain your answer. Problem 4 Assume we perform a...

  • **DO IT AS PYTHON PLEASE** The Trifid Cipher General Problem Description The Trifid cipher (not to be confused with the...

    **DO IT AS PYTHON PLEASE** The Trifid Cipher General Problem Description The Trifid cipher (not to be confused with the creatures from the classic science-fiction film "The Day of the Triffids") is an algorithm that enciphers a plaintext message by encoding each letter as a three-digit number and then breaking up and rearranging the digits from each letter's encoded form. For this assignment, you will create a set of Python functions that can encode messages using this cipher (these functions...

  • Model for Evaluation The model used for evaluation is the single degree of freedom lumped mass mo...

    Model for Evaluation The model used for evaluation is the single degree of freedom lumped mass model defined by second order differential equation with constant coefficients. This model is shown in Figure 1. x(t)m m f(t) Figure 1 - Single Degree of Freedom Model The equation of motion describing this system can easily be shown to be md-x + cdx + kx = f(t) dt dt where m is the mass, c is the damping and k is the stiffness...

  • Suppose the following data represent the ratings (on a scale from 1 to 5) for a...

    Suppose the following data represent the ratings (on a scale from 1 to 5) for a certain smart phone game, with 1 representing a poor rating. Complete parts (a) through (d) below. Stars 1 2 3 4 5 Frequency 2363 2679 4222 3688 10,166 (a) Construct a discrete probability distribution for the random variable x. Stars (x) P(x) 1 2 3 4 5 (Round to three decimal places as needed.) (b) Graph the discrete probability distribution. Choose the correct graph...

  • 5. Consider the following time-dependent Lagrangian for a system with one degree of freedom , (10)...

    5. Consider the following time-dependent Lagrangian for a system with one degree of freedom , (10) where 8, m and k are fixed real constants greater than zero. (total 10 points) (a) Write down the Euler-Lagrange equation of motion for this system, and interpret the resulting equation in terms of a known physical system. (1 point) (b) Find Hamiltonian via Legendre transformation. (1 point) (c) Show that q(t) and the corresponding canonical momentum p(t) can be found as follows for...

  • The names of the employees of Hogan Thrift Shop are listed on the following payroll register. Emp...

    The names of the employees of Hogan Thrift Shop are listed on the following payroll register. Employees are paid weekly. The marital status and the number of allowances claimed are shown on the payroll register, along with each employee's weekly salary, which has remained the same all year. Complete the payroll register for the payroll period ending December 20, the 51st weekly payday. The state income tax rate is 2% of total earnings, the city income tax rate is 1.5%...

  • pls answer all 5:12 .. LED < Back 465 practice 2-1.docx 17 imagine you are a...

    pls answer all 5:12 .. LED < Back 465 practice 2-1.docx 17 imagine you are a physician discussing the results of a screening test with a patient. 1) If the test was positive how likely is it that he really has the disease? (How worried should he be? 2) If the test was negative how likely is it that he really does NOT have it? How reassured should he be? 1) What does 1) represent? a) Express this measure mathematically...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT