Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free EC-Council Certified Encryption Specialist 212-81 Exam Questions

Last updated: · 15 practice questions with answers and explanations

Page: 1 / 14 Total 206 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Introduction and History of Cryptography

Skill tested: Evaluates frequency analysis of mono-alphabet substitution ciphers using plaintext language patterns.

A museum digitization team has recovered a short English message encrypted with a mono-alphabet substitution cipher. The analyst knows that every plaintext letter was consistently replaced by one ciphertext letter, but has no key or known plaintext. The ciphertext is long enough to contain repeated words and ordinary English letter-frequency patterns. The team wants an initial cryptanalytic method that narrows likely letter mappings without trying every possible permutation. Which approach is most appropriate?

Correct Answer: A. Use frequency analysis of individual symbols and repeated patterns, then test candidate mappings against word structure.
Explanation:

A mono-alphabet substitution preserves the frequency distribution and equality patterns of plaintext letters: a common plaintext letter always maps to the same ciphertext symbol. Frequency counts, repeated-letter patterns, and likely word shapes therefore provide useful constraints, which can be refined by testing candidate mappings against English. A birthday search concerns collisions in finite spaces, not this substitution structure. Reapplying an arbitrary substitution does not generally invert it; only the inverse mapping decrypts. A repeating-key period is relevant to polyalphabetic systems, not a fixed monoalphabetic mapping.

Question 2

New Single answer

Topic: Introduction and History of Cryptography

Skill tested: Assesses recognition of homophonic substitution and its effect on ciphertext letter frequencies.

An archive is evaluating a historical cipher that replaces a frequently occurring plaintext letter with several possible ciphertext symbols, selected at random, while less frequent letters have only one or two substitutes. Analysts observe that ciphertext symbol counts are more evenly distributed than ordinary English letter frequencies, but recurring word patterns remain partly visible. The archive needs to identify the most likely cipher family and the principal reason its frequency profile differs from a simple substitution cipher. Which conclusion is best?

Correct Answer: A. It is a homophonic substitution cipher; multiple ciphertext symbols can represent the same plaintext letter.
Explanation:

Homophonic substitution assigns multiple ciphertext symbols to a plaintext symbol, often giving frequent plaintext letters more alternatives. This can flatten ciphertext symbol frequencies while preserving some structural information, such as word boundaries and patterns of repeated plaintext letters where the same choices or conventions expose them. A transposition rearranges positions but does not change symbol frequencies. A one-time pad does not inherently preserve word patterns, and a fixed one-to-one monoalphabetic mapping preserves frequency proportions rather than equalizing them.

Question 3

New Single answer

Topic: Symmetric Cryptography and Hashes

Skill tested: Evaluates binary arithmetic and XOR behavior in cryptographic bit manipulation.

A firmware security team is reviewing a hand-built masking routine used before a block-cipher operation. For each data byte, the routine computes the bitwise XOR with a fixed mask byte and later applies the same mask again to recover the original byte. A reviewer asks whether the recovery step is valid for every possible input byte, independent of the mask value. Which response is technically correct?

Correct Answer: B. Yes; XOR is self-inverse, so (x XOR m) XOR m equals x for any equal-width values.
Explanation:

For each bit, XOR with 1 flips the bit and XOR with 0 leaves it unchanged. Applying the same mask a second time therefore restores every bit, giving (x XOR m) XOR m = x. The result does not depend on the numerical relation between the operands or on the mask's Hamming weight. Addition is a different operation and does not generally invert XOR. XOR masking alone also does not provide cryptographic security, but the question asks about its reversible binary behavior.

Question 4

New Single answer

Topic: Symmetric Cryptography and Hashes

Skill tested: Selects secure block-cipher mode and authentication for independently protected records.

A cloud application stores millions of independently readable customer records. Each record is encrypted and decrypted separately, records may be updated in place, and the database must detect unauthorized modification rather than merely produce plausible plaintext. The application can store a nonce and authentication tag with each record, and its cryptographic library provides an authenticated block-cipher mode. Which design is the best fit?

Correct Answer: C. Use AES-GCM with a unique nonce for each encryption under a given key and verify the tag before accepting plaintext.
Explanation:

AES-GCM provides authenticated encryption, allowing each record to be independently processed while detecting modification through its authentication tag. The nonce must not repeat under the same key; uniqueness is a critical GCM requirement. CBC provides confidentiality but not integrity, and padding behavior is not a safe authentication mechanism. ECB reveals repeated block patterns and lacks integrity. CTR also requires nonce/counter uniqueness and a separate cryptographic authenticator; a plain checksum does not prevent deliberate tampering.

Question 5

New Multiple answers

Topic: Symmetric Cryptography and Hashes

Skill tested: Chooses safe CBC initialization and independent integrity protection for encrypted data.

A legacy service must retain AES-CBC because its hardware interface cannot support another mode. It encrypts variable-length messages with a shared secret key, and messages travel over an untrusted network. The receiver must reject altered ciphertext, and the team can change message framing and key management but cannot replace CBC this quarter. Select TWO measures that address the requirements without treating encryption alone as authentication. Which two should the team implement?

Correct Answer: C. Generate an unpredictable, fresh IV for each message and transmit it with the ciphertext.; E. Add a keyed message authentication code over the protocol fields, IV, and ciphertext, and verify it before decryption.
Explanation:

CBC requires an unpredictable IV for each encryption to prevent first-block relationships from leaking; the IV is normally transmitted but need not be secret. CBC does not authenticate ciphertext, so a keyed MAC must cover the relevant framing, IV, and ciphertext, and the receiver should verify it before attempting decryption. A fixed or reused IV weakens confidentiality. An unkeyed hash can be recomputed by an attacker and does not authenticate the sender or data. Padding errors are not a key-rotation signal and can create oracle risks.

Question 6

New Single answer

Topic: Symmetric Cryptography and Hashes

Skill tested: Selects a password-storage construction resistant to offline guessing attacks.

A company is replacing a legacy account database that stores fast SHA-256 hashes of passwords. A database theft would let an attacker perform offline guesses, and users often choose low-entropy passwords. The service can store a per-account salt and tune computational cost; its approved platform includes a password-hashing implementation designed for this purpose. Which migration approach provides the strongest practical protection among the choices?

Correct Answer: C. Use a unique random salt with a deliberately expensive password-hashing function such as Argon2id, storing its parameters with the verifier.
Explanation:

A unique salt prevents attackers from reusing precomputed tables and makes identical passwords produce different verifiers. A password-hashing function such as Argon2id is deliberately costly, particularly in memory, which raises the cost of large-scale offline guessing; parameters should be stored so the verifier can be checked and later upgraded. A single fast SHA-256 operation is optimized for speed. A fixed small iteration count without salts remains vulnerable to parallelized guessing and shared work. Reversible encryption with a colocated key exposes every password if the application or database is compromised.

Question 7

New Single answer

Topic: Symmetric Cryptography and Hashes

Skill tested: Evaluates stream-cipher nonce uniqueness and keystream reuse consequences.

A telemetry gateway uses a stream cipher to encrypt messages. During an outage, a recovery script restarted its nonce counter from zero while continuing to use the same key, causing some nonce values to be reused. The team has captured ciphertexts from the affected period and wants to understand the immediate cryptographic consequence before deciding on key rotation and incident scope. Which statement is most accurate?

Correct Answer: A. Nonce reuse can expose the XOR of the corresponding plaintexts because the same keystream is reused.
Explanation:

A stream cipher combines plaintext with a keystream, commonly using XOR. If the same key and nonce produce the same keystream, XORing two ciphertexts cancels that keystream and reveals the XOR of the plaintexts. This can enable substantial plaintext recovery when content is predictable or one message is known. It does not automatically reveal the key, but it is a serious confidentiality failure. Different message lengths do not make overlapping keystream bytes safe, and nonce reuse is not merely an integrity concern.

Question 8

New Multiple answers

Topic: Symmetric Cryptography and Hashes

Skill tested: Assesses collision resistance and the birthday bound for cryptographic hashes.

A security architect is reviewing a content-addressed archive that uses an n-bit cryptographic hash to identify objects. The archive must distinguish accidental collision risk from deliberate collision attacks, and management has asked why increasing the digest length matters. Select TWO statements that correctly guide the design discussion. Which two should the architect present?

Correct Answer: B. A collision means finding any two inputs with the same digest; it is distinct from finding an input matching one specified digest.; E. For a generic n-bit hash, collision search becomes likely after roughly 2^(n/2) independent samples because of the birthday effect.
Explanation:

The birthday bound means generic collision search for an n-bit digest has work on the order of 2^(n/2), rather than 2^n. A collision is any pair of distinct inputs with the same digest; finding a preimage for a specified digest is a different problem and generally has an n-bit work factor for an ideal hash. Collisions do not imply a secret key exists or has been recovered. Finite digest spaces necessarily permit collisions when the input space is larger, so longer digests raise the work factor but cannot eliminate collisions absolutely.

Question 9

New Single answer

Topic: Symmetric Cryptography and Hashes

Skill tested: Distinguishes block-cipher key size from block size and mode operation.

A procurement team compares two implementations of the same block-cipher standard. One offers a larger key option, and a stakeholder assumes that choosing it will make encrypted files support larger blocks and prevent repeated-block patterns automatically. The files include structured data and are encrypted in a mode selected by the application. Which clarification is most accurate?

Correct Answer: A. Key size affects the key-search space; the block size is fixed by the cipher, and the mode determines how blocks are processed.
Explanation:

A block cipher's key size and block size are separate parameters. For AES, for example, the block size is 128 bits while supported key sizes vary; choosing a larger key increases resistance to exhaustive key search but does not alter block size or select an operating mode. Modes determine how a block cipher handles data longer than one block and have distinct security requirements. A larger key cannot compensate for unsafe mode use, nonce or IV reuse, or missing authentication.

Question 10

New Single answer

Topic: Number Theory and Asymmetric Cryptography

Skill tested: Applies modular arithmetic and multiplicative inverses in public-key cryptography.

An engineer is implementing a small illustrative RSA calculation for a training tool. The selected modulus is 55, and the engineer proposes the public exponent 10. Before calculating a private exponent, the reviewer checks whether the exponent has a multiplicative inverse modulo the totient of the modulus. Which finding is correct?

Correct Answer: D. The exponent is invalid because it is not relatively prime to φ(55), so the required inverse does not exist.
Explanation:

Since 55 = 5 × 11, φ(55) = (5 - 1)(11 - 1) = 40. An RSA private exponent d must satisfy e·d ≡ 1 mod φ(n), which is possible only when e and φ(n) are coprime. Here gcd(10, 40) = 10, so no modular inverse exists. Being larger than the factors is irrelevant. RSA does not require all public exponents to be less than 5; valid exponent selection depends on the modular inverse condition and other implementation requirements.

Question 11

New Single answer

Topic: Number Theory and Asymmetric Cryptography

Skill tested: Evaluates cryptographic random-number quality for key and nonce generation.

A cloud team generates elliptic-curve private keys and protocol nonces inside short-lived containers. Their current code seeds a general-purpose pseudorandom generator with the container start time, because instances often start simultaneously and the team wants repeatable debugging. A security review notes that attackers may observe deployment times and that a process snapshot can expose generator state. What is the best corrective action?

Correct Answer: D. Use a cryptographically secure random-number generator supplied by the operating system or trusted cryptographic library, and avoid predictable seeds for secret values.
Explanation:

Secret keys and security-sensitive nonces require unpredictable randomness from a cryptographically secure generator, typically one backed by the operating system or a vetted cryptographic library. A timestamp, even with more precision, is guessable or observable and does not provide reliable entropy. A fixed seed makes output reproducible and predictable. A public service name is not secret entropy; hashing predictable input does not make the derived key unpredictable. State compromise may also require appropriate generator reseeding and key rotation.

Question 12

New Multiple answers

Topic: Applications of Cryptography

Skill tested: Selects certificate-validation checks that establish server identity and trust.

A mobile application connects to a service over TLS and accepts the certificate whenever the server presents a chain signed by a certificate authority found in the device trust store. During an assessment, testers find that the app does not check the requested hostname or certificate validity dates. The service uses certificates for several related domains, and the company wants to retain normal public PKI operation rather than hard-code one leaf certificate. Select TWO validation requirements the client must enforce. Which two are necessary?

Correct Answer: A. Check the certificate validity period and validate the chain to an appropriate trusted root, including applicable certificate constraints.; E. Verify that the certificate is valid for the hostname the application intended to contact.
Explanation:

TLS server authentication requires more than encryption or a chain signature. The client must match the certificate identity to the hostname it intended to reach and validate the certificate's time validity and trust chain, including relevant constraints and policy checks. This preserves normal PKI use without pinning a single leaf certificate. Accepting expired certificates weakens identity assurance. A self-signed leaf is not a substitute for trusted chain validation, and an encrypted connection to an unauthenticated endpoint can still be a man-in-the-middle connection.

Question 13

New Single answer

Topic: Applications of Cryptography

Skill tested: Identifies secure WPA2-Enterprise authentication and key-management architecture.

A hospital is replacing shared Wi-Fi passwords with individual staff authentication. It needs centralized account revocation, per-session key establishment, and compatibility with managed laptops. The wireless access points can communicate with an authentication server, while guest devices must remain on a separate network. Which design best meets the staff-network requirements?

Correct Answer: A. Use WPA2-Enterprise with 802.1X/EAP and a backend authentication service, validating the server certificate on clients.
Explanation:

WPA2-Enterprise uses 802.1X with an EAP method and a backend authentication service, enabling individual credentials, centralized revocation, and per-session keying. Clients should validate the authentication server's certificate to avoid credential theft through a rogue access point. WPA2-Personal relies on a shared secret, making individual revocation and accountability difficult. Hiding an SSID is not access control, while WEP is obsolete and insecure; MAC filtering does not provide strong authentication.

Question 14

New Single answer

Topic: Applications of Cryptography

Skill tested: Applies authenticated encryption and key separation to file encryption operations.

A legal firm encrypts archived documents on portable media. Files must remain confidential if media is lost, and the system must detect file modification when files are restored. The encryption key is currently derived from one employee password and reused across every file; there is no reliable way to rotate protection when staff leave. Which redesign is most appropriate?

Correct Answer: A. Encrypt files with a modern authenticated-encryption scheme using unique nonces, and protect per-file data keys with managed key-encryption keys.
Explanation:

Authenticated encryption provides both confidentiality and tamper detection, while a unique nonce is required according to the chosen mode's rules. Per-file data-encryption keys limit the scope of compromise, and wrapping them with managed key-encryption keys supports controlled rotation and access governance without re-encrypting every file merely to change an employee password. CBC with a constant IV is unsafe and an unkeyed digest can be recomputed by an attacker. Compression does not add integrity, and embedding a shared key in software exposes the entire archive.

Question 15

New Multiple answers

Topic: Applications of Cryptography

Skill tested: Distinguishes secure VPN tunneling choices and cryptographic protection requirements.

A company connects branch offices to a cloud network over the public internet. It requires encrypted site-to-site tunnels, modern peer authentication, and protection against modification; the network team can deploy IPsec-capable gateways and wants to avoid relying on application-by-application TLS configuration. Select TWO design choices that meet these requirements. Which two should the team choose?

Correct Answer: A. Configure IPsec tunnel mode between the gateways with authenticated encryption and a sound key exchange and rekeying policy.; E. Use a site-to-site IPsec VPN with authenticated peers and carefully validated cryptographic parameters.
Explanation:

IPsec tunnel mode is designed to protect IP traffic between gateways, and authenticated encryption can provide confidentiality and integrity. Secure key exchange, peer authentication, and rekeying are essential parts of a sound deployment; the two selected choices express these complementary requirements. PPTP is not an appropriate modern security choice. GRE provides encapsulation but not cryptographic confidentiality or integrity. An IP address alone does not authenticate a peer, so disabling authentication would allow unauthorized tunnel establishment.