Timedora
Free Online Flashcard Deck

8 Cryptographic Applications and Secure Implementation Free Online FlashCards

Study 8 Cryptographic Applications and Secure Implementation with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does authenticated encryption provide for stored data?

Back

Authenticated encryption, such as AES-GCM or AES-CCM, protects confidentiality and detects unauthorized changes.

02
Front

How does envelope encryption protect a data-encryption key?

Back

Envelope encryption uses a data-encryption key (DEK) to encrypt data, then protects the DEK with a separately managed key-encryption key (KEK).

03
Front

What must an HTTPS client verify to help prevent server impersonation?

Back

Clients should verify the server certificate and hostname. Disabling certificate validation defeats protection against impersonation.

04
Front

What does a digital signature provide—and what does it not provide?

Back

A digital signature supports integrity and shows that the signer controlled the corresponding private key; it does not encrypt the data.

05
Front

Why must AES-GCM nonces not be reused with the same key?

Back

In AES-GCM, reusing a nonce with the same key can seriously undermine security. Use library-supported generation and follow usage limits.

06
Front

How can an application reduce replay risk for sensitive requests?

Back

Use workflow controls such as unique request identifiers and duplicate detection; encryption or a valid signature alone does not necessarily prevent replay.

07
Front

What should an application do when authenticated decryption fails?

Back

Reject the data. Do not use or return partially decrypted plaintext when authentication fails.

08
Front

How is associated data protected in authenticated encryption?

Back

Associated data is authenticated but not encrypted. Supply it consistently during decryption.

09
Front

How can envelope encryption support key rotation?

Back

Rewrap the DEK under the new KEK; this can avoid re-encrypting all the data.

10
Front

How do authentication and authorization differ?

Back

Authentication identifies who is making a request; authorization checks whether that identity may perform the action on the resource.

11
Front

What should an API validate when accepting a signed token?

Back

Validate token signatures and relevant claims, such as issuer, audience, and expiration, using a maintained implementation.

12
Front

How does a MAC differ from an unkeyed cryptographic hash?

Back

A hash produces a digest but does not prove who created the data. A MAC uses a shared secret key to verify message integrity and authenticity.