Consider a block cipher that is used in cipher block chaining mode. Suppose that during transmission, Ci , the i-th ciphertext block, is corrupted. How many plaintext blocks will be affected? Answer the same question for the case of cipher feedback mode.
In cipher block chaining mode we know that every cipher text block is involved in two plain text text block description i.e. its own and subsequent one so when Ci, the i-th cipher text block is corrupted only two plain text block is corrupted which is Pi and Pi +1 block.
In cipher feedback mode if Ci, the i-th cipher text block is corrupted than only two received plain text block is corrupted.
Consider a block cipher that is used in cipher block chaining mode. Suppose that during transmission,...
Suppose that, in PCBC (Plaintext Cipher Block Chaining) mode, blocks C_i and C_(i+1) are interchanged during transmission. Show that this affects only the decrypted blocks P_i and P_(i+1)but not subsequent blocks.
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...
Problem 1 Consider the 3-bit block cipher in slide 8-18. Suppose the plaintext is 101101101. If CBC is used with initial vector 110, what will be the resulting ciphertext? Show work, not just the final answer. Problem 2 Consider RSA with public key (n, e) and private key (n, d) where n = 35, e = 5, and d = 29. What is the encryption of m = 34? What is the decryption of c = 34? Show calculations, not...
Computer science encryption please refer to the chart to
help
For the remaining questions, consider a 4-bit block cipher, described in hexadecimal by the following table: Plaintext Ciphertext Plaintext Ciphertext 4 You can think of this as a simple substitution cipher for hexadecimal digits. The table itself serves as the "key" s (6 pts) For this question, you will perform encryption and 5. decryption using the same cipher described above, but in CBC mode. Recall that you can convert hexadecimal...
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.
Suppose that a Vigenere cipher with alphabet A-Z (0-25) and block length 5 is used to encrypt a word and the cipher-text is MTYGH. If the plaintext is ALICE, what is the encryption key? If the plaintext is TEXAS, what is the encryption key?
Computer science encryption Problem. Please answer A and B. ) Consider any block cipher (such as S-DES, but not specifically) that operates on a block size of 8 bits, producing a ciphertext that is also 8 bits long. In this scenario, how many different ciphertexts are possible? b. How many different 8-bit block ciphers can there be in total?
nonlinear. Here we want you to verify this property by computing the output of S, for the following two pairs of inputs. The S-box S is given as follows: 0-6. (10 points) One important property which makes DES secure is that the S-Boxes are S-box S S0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 14 04 13 01 02 15 11 08 03 10 06 12 05 09 00 07 1...
(Cryptography] Consider two messages each of n blocks m: M1m2mn and М,-mílImall Ilmn, where M1 and M2 differ only in the first block. Which of the following statements hold? Assume the same key is used for all encryption. If M1 and M2 are encrypted using counter mode (CTR), but the same initialization vector (IV) is used for encrypting both messages, none of the ciphertext blocks will repeat between each message. (CIRCLE the correct answer and give the reason) msg m[L]...
Computer Science C++ Help, here's the question that needs to be answered (TASK D): Task D. Decryption Implement two decryption functions corresponding to the above ciphers. When decrypting ciphertext, ensure that the produced decrypted string is equal to the original plaintext: decryptCaesar(ciphertext, rshift) == plaintext decryptVigenere(ciphertext, keyword) == plaintext Write a program decryption.cpp that uses the above functions to demonstrate encryption and decryption for both ciphers. It should first ask the user to input plaintext, then ask for a right...