EXAM WITH ORIGINAL QUESTIONS AND VERIFIED
ANSWERS, PLUS EXPLAINED RATIONALES/EXPERT
VERIFIED FOR GUARANTEED 100% PASS 2026/LATEST
UPDATE/INSTANT DOWNLOAD PDF
1. What is the primary purpose of padding in RSA encryption?
A. To increase the size of the message
B. To convert deterministic RSA encryption into a probabilistic,
secure scheme
C. To speed up modular exponentiation
D. To authenticate the sender
B. To convert deterministic RSA encryption into a probabilistic,
secure scheme
Rationale: Textbook RSA without padding is deterministic—the same
plaintext always produces the same ciphertext, enabling attackers to
test guesses. Padding adds randomness and structure, making
encryption probabilistic and secure against chosen-plaintext attacks .
2. Which padding scheme is proven CCA-secure in the random
oracle model when used with RSA?
A. PKCS#1 v1.5
B. OAEP (Optimal Asymmetric Encryption Padding)
C. Raw RSA (textbook RSA)
D. Zero padding
B. OAEP (Optimal Asymmetric Encryption Padding)
Rationale: RSA with OAEP is proven CCA-secure in the random
oracle model, preventing malleability attacks. Textbook RSA and
PKCS#1 v1.5 are not CCA-secure; the latter is vulnerable to
Bleichenbacher's attack .
1
, 3. In RSA-OAEP, what is the role of the hash function and the mask
generation function (MGF)?
A. The hash ensures integrity; the MGF derives the symmetric key
B. The hash creates a label; the MGF expands a seed to mask the
message and padding
C. The hash provides collision resistance; the MGF generates the
public exponent
D. The hash is optional; the MGF is used for key encapsulation
B. The hash creates a label; the MGF expands a seed to mask the
message and padding
Rationale: In OAEP, a hash function (e.g., SHA-256) creates a label
hash, and the MGF (e.g., MGF1) expands a random seed to mask the
message and padding, achieving semantic security. OAEP does not
derive symmetric keys or generate public exponents, and the hash is
not optional .
4. What is the primary weakness of PKCS#1 v1.5 padding when used
with RSA encryption?
A. It is too slow
B. It is vulnerable to Bleichenbacher's attack due to padding oracle
behavior
C. It uses too much memory
D. It cannot be used with AES
B. It is vulnerable to Bleichenbacher's attack due to padding oracle
behavior
Rationale: Bleichenbacher's attack exploits padding errors in RSA
with PKCS#1 v1.5 to decrypt messages. When an attacker can
distinguish valid from invalid padding, they can gradually recover the
plaintext. OAEP was developed to address this vulnerability .
2
, 5. What is the primary purpose of the random seed used in OAEP
padding?
A. To ensure that the ciphertext is non-deterministic, preventing
chosen-plaintext attacks
B. To increase the size of the plaintext that can be encrypted
C. To provide authentication of the message origin
D. To speed up modular exponentiation during decryption
A. To ensure that the ciphertext is non-deterministic, preventing
chosen-plaintext attacks
Rationale: OAEP uses a random seed to make the padding
probabilistic, so the same plaintext produces different ciphertexts each
time. This prevents an attacker from verifying guesses of the plaintext.
It does not increase plaintext capacity (padding reduces it), provide
authentication by itself, or affect modular exponentiation speed .
6. In OAEP, what does the "all-or-nothing" property refer to?
A. The ciphertext can only be decrypted with the private key
B. An attacker cannot recover any portion of the plaintext without
recovering the entire plaintext
C. The padding must be complete before encryption
D. The message must be encrypted in one operation
B. An attacker cannot recover any portion of the plaintext without
recovering the entire plaintext
Rationale: In OAEP, to recover the message m, the attacker must know
both X and Y. X depends on r via G(r), and Y depends on r via H(X).
Without the entire plaintext, no portion can be recovered—this is the
all-or-nothing property .
7. Which padding scheme includes a hash algorithm identifier and
structured padding but is deterministic?
A. OAEP
3
, B. PKCS#1 v1.5
C. RSA-PSS
D. Zero padding
B. PKCS#1 v1.5
Rationale: PKCS#1 v1.5 padding includes the hash algorithm
identifier and structured padding bytes. However, it is deterministic—
the same message and key produce the same signature. OAEP is
randomized; RSA-PSS is randomized for signatures .
8. What is the primary reason OAEP was developed?
A. To speed up RSA encryption
B. To create a secure way to use RSA that resists chosen-ciphertext
attacks
C. To reduce key size
D. To enable RSA signatures
B. To create a secure way to use RSA that resists chosen-ciphertext
attacks
Rationale: OAEP was introduced by Bellare and Rogaway to provide a
provably secure padding scheme for RSA that achieves IND-CCA
security in the random oracle model. It was standardized in PKCS#1
v2 and RFC 2437 .
9. What are the two hash functions (G and H) used for in OAEP?
A. G masks the message; H masks the seed
B. G encrypts the message; H decrypts the seed
C. G authenticates the sender; H verifies the receiver
D. G hashes the key; H hashes the ciphertext
A. G masks the message; H masks the seed
Rationale: In OAEP encoding, G expands the random seed r to mask
4