Study for the WGU ITAS 2142 D830 Introduction to Cryptography Exam. Review flashcards and multiple choice questions with hints and explanations. Get ready for your exam!

Multiple Choice

What is a nonce in cryptography?

Nonces provide freshness by using a value that is used exactly once in a given cryptographic operation. This uniqueness prevents replay attacks, where an attacker resends a captured message hoping it will be accepted as new. Nonces are usually not kept secret; they’re included with the ciphertext or agreed during a protocol. They can be random, time-based, or derived from a counter, as long as each use under the same key is distinct. In modes like CTR or GCM, reusing a nonce with the same key can expose all the plaintext, so ensuring a unique nonce per encryption is critical. That’s why a nonce is best understood as a value used once to prevent reuse attacks. The other options describe a fixed secret key, a padding pattern, or a counter that never resets, none of which capture the essential role of a nonce.

Nonces provide freshness by using a value that is used exactly once in a given cryptographic operation. This uniqueness prevents replay attacks, where an attacker resends a captured message hoping it will be accepted as new. Nonces are usually not kept secret; they’re included with the ciphertext or agreed during a protocol. They can be random, time-based, or derived from a counter, as long as each use under the same key is distinct. In modes like CTR or GCM, reusing a nonce with the same key can expose all the plaintext, so ensuring a unique nonce per encryption is critical. That’s why a nonce is best understood as a value used once to prevent reuse attacks. The other options describe a fixed secret key, a padding pattern, or a counter that never resets, none of which capture the essential role of a nonce.