chapter 3- Public Key Cryptography and Message Authentication Flashcards | Studygenie
chapter 3- Public Key Cryptography and Message Authentication
F
Created by
Footskillz
Sign up for Studygenie 100% free
Join 75,000+ students acing their exams with Studygenie
Unlimited practice
Flashcards, multiple choice and written questions, as many as you want.
Study sets in seconds
Turn your notes and files into a set with AI.
See your progress
Always know what you've learned and what's left.
Questions in this set (7)
What is message authentication, and why is it important?
Message authentication is a procedure that allows communicating parties to verify that received messages are authentic, meaning that the message has not been altered and the source is genuine. It protects against active attacks, such as falsification of data or transactions.
What are the two approaches to message authentication?
With encryption: Symmetric encryption ensures only the sender and receiver with the shared secret key can encrypt or decrypt the message.
Without encryption: An authentication tag is added to verify authenticity, but the message is not encrypted, allowing verification without confidentiality.
What is a one-way hash function?
A one-way hash function accepts a variable-size message as input and produces a fixed-size message digest as output. It does not use a secret key. The resulting message digest is used for authentication, ensuring that any change to the message would result in a different hash value.
What are the requirements for a secure hash function?
Can handle data of any size.
Produces a fixed-length output.
Is easy to compute.
Is preimage resistant (infeasible to reverse the hash).
Is collision resistant (infeasible to find two different inputs that produce the same hash output).
What is HMAC and why is it widely used?
HMAC (Hash-based Message Authentication Code) is a message authentication code using cryptographic hash functions like SHA-1. It's efficient in software and used in protocols like IPSec, TLS, and SET. HMAC adds a secret key to existing hash functions for added security and authentication.
What are the basic functions of public-key cryptosystems?
Encryption/Decryption: The sender encrypts the message with the receiver’s public key.
Digital Signatures: The sender signs the message with its private key to verify its authenticity.
Key Exchange: Two parties use public-key cryptography to securely exchange a session key for symmetric encryption.
What is the Diffie-Hellman key exchange, and what is its purpose?
The Diffie-Hellman key exchange is a public-key algorithm that enables two users to securely exchange a secret key. This key is then used for encrypting subsequent messages. It is secure due to the difficulty of computing discrete logarithms.