Timedora
Free Online Flashcard Deck

6 Cryptography Fundamentals Free Online FlashCards

Study 6 Cryptography Fundamentals with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does encryption do?

Back

Encryption transforms readable plaintext into ciphertext using an algorithm and a key; decryption uses the corresponding key to recover the plaintext.

02
Front

How does symmetric encryption use keys?

Back

It uses the same secret key for encryption and decryption. It is efficient for large amounts of data, but the parties need a secure way to establish and protect their shared key.

03
Front

What distinguishes asymmetric cryptography?

Back

It uses a related public/private key pair. The public key may be shared, while the private key must be protected; different schemes support different uses, such as encryption or signatures.

04
Front

What protection does AEAD provide?

Back

AEAD, such as AES-GCM, provides confidentiality and checks that both encrypted data and associated unencrypted data have not been altered.

05
Front

Why must AES-GCM nonces be used carefully?

Back

For AES-GCM, reusing a nonce with the same key can seriously undermine security. Nonces must be generated and used according to the algorithm’s requirements.

06
Front

What does a cryptographic hash produce?

Back

A cryptographic hash maps data of any length to a fixed-size digest. Hashing is not encryption: the digest cannot be decrypted to reveal the original message.

07
Front

Why does a plain hash not authenticate its creator?

Back

A plain hash does not prove who created the data. An attacker who can replace both the message and its digest can calculate a new matching digest.

08
Front

What does a message authentication code (MAC) do?

Back

A MAC uses a shared secret key to authenticate data and detect tampering. A valid MAC indicates that the message came from someone who knows the key and was not modified.

09
Front

How should passwords be stored?

Back

Use a password-hashing scheme designed to resist guessing, with a unique salt for each password and appropriate work factors. Do not store passwords as plaintext or as a single fast hash.

10
Front

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

Back

A digital signature is generated with a private signing key and checked with the corresponding public key. It supports integrity checks and public-key authentication, but does not encrypt the data.

11
Front

What security gap remains after unauthenticated key exchange?

Back

Key exchange establishes shared secret material, but does not authenticate the parties by itself. Without authentication, an attacker may establish separate keys with each party and relay or alter their communication.

12
Front

What is the role of a key-derivation function?

Back

A key-derivation function (KDF) takes shared secret material as input to produce keys for specific purposes.