Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
What are the possible coefficient values of polynomials in ?
Not quite. Try another option.
Answer: Only and
Elements of are represented using polynomials whose coefficients belong to , so each coefficient is either or .
Question 2 of 60 · GF(2^n) Fields · Easy
Which operation is equivalent to polynomial addition in ?
Not quite. Try another option.
Answer: Bitwise XOR
Polynomial coefficients are added modulo , which is equivalent to applying bitwise XOR.
Question 3 of 60 · GF(2^n) Fields · Easy
How many elements are present in the finite field ?
Not quite. Try another option.
Answer:
A field contains elements. Therefore, contains elements.
Question 4 of 60 · DES Structure · Easy
What is the block size used by DES?
Not quite. Try another option.
Answer: bits
DES encrypts plaintext in fixed-size blocks of bits.
Question 5 of 60 · DES Structure · Easy
How many rounds are performed in standard DES encryption?
Not quite. Try another option.
Answer: rounds
DES uses a Feistel structure consisting of encryption rounds.
Question 6 of 60 · DES Structure · Easy
What type of structure is used by DES?
Not quite. Try another option.
Answer: Feistel structure
DES is based on a Feistel structure, where each block is divided into left and right halves.
Question 7 of 60 · DES Structure · Easy
What is the main purpose of the S-boxes in DES?
Not quite. Try another option.
Answer: Provide substitution
DES S-boxes perform nonlinear substitution, converting each -bit input into a -bit output.
Question 8 of 60 · Analysis and Security of DES · Easy
What is the effective key length of DES?
Not quite. Try another option.
Answer: bits
Although a DES key is represented using bits, are parity bits, leaving an effective key length of bits.
Question 9 of 60 · Analysis and Security of DES · Easy
Why is DES considered insecure for many modern applications?
Not quite. Try another option.
Answer: Its key is too short
The -bit DES key is small enough for modern computers to search using brute-force attacks.
Question 10 of 60 · Analysis and Security of DES · Easy
Which cipher was introduced to improve security by applying DES multiple times?
Not quite. Try another option.
Answer: Triple DES
Triple DES, also called 3DES, applies the DES operation three times to provide greater resistance to brute-force attacks.
Question 11 of 60 · AES Introduction · Easy
What fixed block size does AES use?
Not quite. Try another option.
Answer: bits
AES always processes data in -bit blocks, regardless of the selected key size.
Question 12 of 60 · AES Introduction · Easy
Which key sizes are supported by AES?
Not quite. Try another option.
Answer: , , and bits
AES supports three key sizes: , , and bits.
Question 13 of 60 · AES Introduction · Easy
How many rounds does AES-128 perform?
Not quite. Try another option.
Answer: rounds
AES-128 performs rounds. AES-192 and AES-256 perform and rounds, respectively.
Question 14 of 60 · AES Transformations · Easy
Which AES transformation replaces each byte using an S-box?
Not quite. Try another option.
Answer: SubBytes
SubBytes replaces every byte in the AES state with another byte selected from a fixed S-box.
Question 15 of 60 · AES Transformations · Easy
Which AES transformation cyclically shifts bytes within the rows of the state?
Not quite. Try another option.
Answer: ShiftRows
ShiftRows cyclically moves bytes in each row by a specified number of positions.
Question 16 of 60 · AES Transformations · Easy
Which AES transformation combines each state column using arithmetic in ?
Not quite. Try another option.
Answer: MixColumns
MixColumns transforms each column through matrix multiplication over .
Question 17 of 60 · AES Transformations · Easy
What operation is used by AddRoundKey to combine the state with a round key?
Not quite. Try another option.
Answer: Bitwise XOR
AddRoundKey combines each byte of the AES state with the corresponding round-key byte using XOR.
Question 18 of 60 · AES Key Expansion and Ciphers · Easy
What is produced by the AES key expansion process?
Not quite. Try another option.
Answer: Round keys
AES key expansion derives a separate round key for each encryption round from the original cipher key.
Question 19 of 60 · AES Key Expansion and Ciphers · Easy
Which AES transformation is omitted from the final encryption round?
Not quite. Try another option.
Answer: MixColumns
The final AES encryption round includes SubBytes, ShiftRows, and AddRoundKey, but it does not include MixColumns.
Question 20 of 60 · Use of modern block ciphers · Easy
Which block cipher mode can provide both encryption and authentication?
Not quite. Try another option.
Answer: GCM
Galois/Counter Mode (GCM) provides confidentiality through encryption and integrity through an authentication tag.
Question 21 of 60 · GF(2^n) Fields · Medium
In defined by the irreducible polynomial , what is ?
Not quite. Try another option.
Answer:
The product is . Since , reduction modulo gives .
Question 22 of 60 · GF(2^n) Fields · Medium
In defined using , which polynomial is the multiplicative inverse of ?
Not quite. Try another option.
Answer:
. Because modulo , the result becomes .
Question 23 of 60 · GF(2^n) Fields · Medium
What is the sum of the field elements 0x57 and 0x83 in ?
Not quite. Try another option.
Answer: 0xD4
Addition in is bitwise XOR, so 0x57 XOR 0x83 = 0xD4.
Question 24 of 60 · DES Structure · Medium
Why does the DES expansion permutation transform the 32-bit right half into 48 bits before the round function continues?
Not quite. Try another option.
Answer: To match the 48-bit round key and form eight 6-bit S-box inputs
The expanded right half is XORed with a 48-bit round key and then divided into eight 6-bit inputs for the S-boxes.
Question 25 of 60 · DES Structure · Medium
In one DES Feistel round, suppose the input halves are and , and the round function produces . What are the output halves?
Not quite. Try another option.
Answer: and
A Feistel round copies the old right half to the new left half and XORs the old left half with the round-function output.
Question 26 of 60 · DES Structure · Medium
Which sequence correctly describes how a DES round key is derived from the supplied 64-bit key?
Not quite. Try another option.
Answer: Discard parity bits, rotate two 28-bit halves, and select 48 bits
PC-1 removes eight parity bits, the two 28-bit halves are rotated, and PC-2 selects 48 bits for each round key.
Question 27 of 60 · Analysis and Security of DES · Medium
Assuming all DES keys are equally likely, approximately how many keys must an exhaustive-search attacker test on average before finding the correct key?
Not quite. Try another option.
Answer:
DES has a 56-bit effective key, so there are possible keys. On average, half the key space— keys—is tested.
Question 28 of 60 · Analysis and Security of DES · Medium
An analyst studies many plaintext pairs having carefully selected XOR differences and observes the resulting ciphertext differences. Which attack is being applied to DES?
Not quite. Try another option.
Answer: Differential cryptanalysis
Differential cryptanalysis studies how selected input differences propagate through a cipher and influence output differences.
Question 29 of 60 · Analysis and Security of DES · Medium
If DES encryption satisfies , what does the DES complementation property imply?
Not quite. Try another option.
Answer:
Complementing both the DES key and plaintext produces the complement of the original ciphertext.
Question 30 of 60 · AES Introduction · Medium
A system uses AES with a 192-bit key. How many encryption rounds are applied to each 128-bit block?
Not quite. Try another option.
Answer: 12 rounds
AES uses 10 rounds for 128-bit keys, 12 rounds for 192-bit keys, and 14 rounds for 256-bit keys.
Question 31 of 60 · AES Introduction · Medium
The bytes 00 01 02 ... 0F are loaded into an AES state in order. Which sequence forms the first row of the state?
Not quite. Try another option.
Answer: 00 04 08 0C
AES loads input bytes column by column. Therefore, the first row contains bytes at positions 0, 4, 8, and 12.
Question 32 of 60 · AES Transformations · Medium
During AES ShiftRows, a byte initially located in row 2, column 0 moves to which column?
Not quite. Try another option.
Answer: Column 2
Row 2 is cyclically shifted two positions to the left, moving its original column-0 byte to column 2.
Question 33 of 60 · AES Transformations · Medium
What is the result of applying AES MixColumns to the column ?
Not quite. Try another option.
Answer:
Multiplying the input by the AES MixColumns matrix selects its first column, which is .
Question 34 of 60 · AES Transformations · Medium
Which AES transformation is its own inverse when the same round key is used?
Not quite. Try another option.
Answer: AddRoundKey
AddRoundKey uses XOR. Since , applying it twice with the same key restores the state.
Question 35 of 60 · AES Transformations · Medium
Which sequence of transformations is used in the final AES encryption round?
Not quite. Try another option.
Answer: SubBytes, ShiftRows, AddRoundKey
The final AES round omits MixColumns and applies SubBytes, ShiftRows, and AddRoundKey.
Question 36 of 60 · AES Key Expansion and Ciphers · Medium
How many 32-bit words are generated by the AES-128 key expansion, including the original key words?
Not quite. Try another option.
Answer: 44 words
AES-128 requires 11 round keys of four 32-bit words each, producing words.
Question 37 of 60 · AES Key Expansion and Ciphers · Medium
For AES-128 key expansion, which operation is applied when generating a word whose index is a multiple of 4?
Not quite. Try another option.
Answer: Apply RotWord and SubWord to , XOR Rcon, then XOR
At every fourth word, AES-128 uses .
Question 38 of 60 · Use of modern block ciphers · Medium
An image encrypted with a block cipher still reveals repeated visual patterns because identical plaintext blocks produce identical ciphertext blocks. Which mode was most likely used?
Not quite. Try another option.
Answer: ECB mode
ECB encrypts identical plaintext blocks under the same key into identical ciphertext blocks, exposing structural patterns.
Question 39 of 60 · Use of modern block ciphers · Medium
During CBC transmission, one bit of ciphertext block is accidentally changed. What is the effect after decryption?
Not quite. Try another option.
Answer: is corrupted, and the matching bit in is flipped
A changed unpredictably corrupts and flips the corresponding bit in . Blocks after are unaffected.
Question 40 of 60 · Use of modern block ciphers · Medium
Two messages are encrypted in CTR mode using the same key and nonce. If their ciphertexts are and , what information becomes directly available to an attacker?
Not quite. Try another option.
Answer:
Nonce reuse repeats the CTR keystream. XORing the ciphertexts cancels that keystream and reveals the XOR of the plaintexts.
Question 41 of 60 · GF(2^n) Fields · Hard
In the AES field defined by , what is the product of the bytes 0x57 and 0x13?
Not quite. Try another option.
Answer: 0xFE
Polynomial multiplication followed by reduction modulo gives 0xFE. Equivalently, 0x57 multiplied by 0x01, 0x02, and 0x10 and then XORed produces 0xFE.
Question 42 of 60 · GF(2^n) Fields · Hard
Suppose the AES modulus were replaced by a reducible degree-8 polynomial over . Which consequence would most directly invalidate the algebraic construction of the AES S-box?
Not quite. Try another option.
Answer: Some nonzero byte values would have no multiplicative inverse
A quotient by a reducible polynomial contains zero divisors and is not a field. Therefore, some nonzero elements lack multiplicative inverses, breaking the inversion stage of the AES S-box.
Question 43 of 60 · GF(2^n) Fields · Hard
Under the AES polynomial , which byte is the multiplicative inverse of 0x53?
Not quite. Try another option.
Answer: 0xCA
The product of 0x53 and 0xCA, reduced modulo the AES polynomial, is 0x01. Thus 0xCA is the unique multiplicative inverse of 0x53.
Question 44 of 60 · GF(2^n) Fields · Hard
The AES xtime operation multiplies a byte by in . What is xtime(0x83)?
Not quite. Try another option.
Answer: 0x1D
Left-shifting 0x83 gives 0x06 after discarding the high bit. Because the original high bit was 1, reduction XORs 0x1B, yielding 0x06 XOR 0x1B = 0x1D.
Question 45 of 60 · DES Structure · Hard
Why can DES decryption use the same Feistel round implementation as encryption?
Not quite. Try another option.
Answer: The round subkeys are applied in reverse order
A Feistel network is invertible even when its round function is not. DES decryption uses the same round computation but supplies the 16 subkeys in the order .
Question 46 of 60 · DES Structure · Hard
Which statement precisely describes the role of the DES expansion permutation ?
Not quite. Try another option.
Answer: It expands 32 bits to 48 bits by duplicating selected boundary bits
The expansion forms eight 6-bit groups from the 32-bit right half. Adjacent groups share boundary bits, enabling XOR with the 48-bit round key and creating overlapping S-box dependencies.
Question 47 of 60 · DES Structure · Hard
A 6-bit input 101011 is supplied to DES S-box . Using the outer bits for the row and the inner four bits for the column, what is the 4-bit output?
Not quite. Try another option.
Answer: 1001
The outer bits 11 select row 3, while the inner bits 0101 select column 5. Entry is 9, represented as 1001.
Question 48 of 60 · Analysis and Security of DES · Hard
Let under DES, and let an overbar denote bitwise complementation. Which relation follows from the DES complementation property?
Not quite. Try another option.
Answer:
Complementing both the DES key and plaintext complements the ciphertext. This property can reduce work in some multi-target settings but does not increase the effective key length.
Question 49 of 60 · Analysis and Security of DES · Hard
Which comparison between the classic differential and linear cryptanalysis attacks on full 16-round DES is most accurate?
Not quite. Try another option.
Answer: Differential uses about chosen plaintexts; linear uses about known plaintexts
The classic full-DES differential attack requires roughly chosen plaintexts, whereas Matsui's linear attack requires roughly known plaintexts.
Question 50 of 60 · Analysis and Security of DES · Hard
For a DES weak key, all 16 generated round subkeys are identical. Which property then holds for every plaintext ?
Not quite. Try another option.
Answer:
When every round subkey is identical, reversing the subkey sequence has no effect. Encryption and decryption are therefore the same transformation, making encryption an involution.
Question 51 of 60 · AES Introduction · Hard
AES maps input bytes into the state by . After ShiftRows, where does byte move?
Not quite. Try another option.
Answer: Row 1, column 2
Byte initially occupies row 1, column 3. ShiftRows rotates row 1 left by one column, so it moves to row 1, column 2.
Question 52 of 60 · AES Transformations · Hard
Applying the AES MixColumns transformation to the column [0xD4, 0xBF, 0x5D, 0x30] produces which output column?
Not quite. Try another option.
Answer: [0x04, 0x66, 0x81, 0xE5]
Multiplication by the fixed AES MDS matrix over maps the input column to [0x04, 0x66, 0x81, 0xE5].
Question 53 of 60 · AES Transformations · Hard
A difference entering MixColumns has exactly one nonzero byte. Ignoring cancellation with other columns, how many nonzero output bytes must that column contain?
Not quite. Try another option.
Answer: Exactly four
A single active input byte is multiplied by nonzero field constants in all four output positions. Since field multiplication by a nonzero constant preserves nonzero values, all four outputs are active.
Question 54 of 60 · AES Transformations · Hard
A full nonfinal AES encryption round applies SubBytes, ShiftRows, MixColumns, and AddRoundKey in that order. Which sequence directly inverts that round when using the same untransformed round key?
A composition is inverted by applying inverse operations in reverse order. AddRoundKey is its own inverse because it is XOR with the round key.
Question 55 of 60 · AES Transformations · Hard
Why is the AES S-box transformation bijective over all 256 byte values?
Not quite. Try another option.
Answer: Field inversion and the affine map are both permutations
Multiplicative inversion permutes the field when zero is mapped to zero. The following affine transformation has an invertible linear part, so their composition is bijective.
Question 56 of 60 · AES Key Expansion and Ciphers · Hard
For AES-128, which expression correctly generates the first word beyond the original four key words?
Not quite. Try another option.
Answer:
At indices divisible by , AES-128 transforms the previous word with RotWord, SubWord, and the appropriate round constant, then XORs the result with the word four positions earlier.
Question 57 of 60 · AES Key Expansion and Ciphers · Hard
Which additional rule distinguishes the AES-256 key expansion from the AES-128 and AES-192 schedules?
Not quite. Try another option.
Answer: SubWord is also applied when the word index modulo 8 equals 4
AES-256 applies the normal schedule core when the index is divisible by 8 and applies an additional SubWord without RotWord or Rcon when the index modulo 8 is 4.
Question 58 of 60 · AES Key Expansion and Ciphers · Hard
In an AES equivalent inverse cipher implementation, how are the intermediate decryption round keys modified relative to the reversed encryption key schedule?
Not quite. Try another option.
Answer: They are transformed by InvMixColumns
The equivalent inverse cipher applies InvMixColumns to each intermediate reversed round key. The first and last round keys remain untransformed.
Question 59 of 60 · Use of modern block ciphers · Hard
Two equal-length plaintexts are encrypted with AES-CTR using the same key and initial counter value. What can an observer compute directly from the ciphertexts?
Not quite. Try another option.
Answer:
Counter reuse produces the same keystream . Since , XORing the ciphertexts cancels and reveals the XOR of the plaintexts.
Question 60 of 60 · Use of modern block ciphers · Hard
Assuming independent uniformly distributed 128-bit block outputs, approximately what is the probability of at least one collision after processing blocks?
Not quite. Try another option.
Answer: Approximately
The birthday approximation is . With , this is approximately .
That's unit 2
Answer a few questions and your score shows up here.
Nearly through. Did unit 2 of CSE403 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 2 of CSE403 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.