Week 2 - Digital Signatures Flashcards
What is a digital signature?
provides assurances of message integrity and origin authentication
e.g
hand signature
What key pair is used in digital signatures, and what are their functions?
Private key - signing the message.
Public key - verifying the signature.
How does a digital signature ensure message integrity?
allows the receiver to verify the messaage using sender’s public key. confirming it has not been altered
Why are cryptographic hash functions used in digital signatures?
Hash functions generate a fixed-length output, from any sized message.
avoiding issues with large or small messages
What is the process of creating a digital signature?
- message is hashed using cryptographic has function
- a copy of the hashed message is encrypted with sender’s private key
- Both the original message and the signature are sent
How is a digital signature verified?
- receiver hashes OG message
- decrypt digital signature with sender’s public key
- checks if 2 hashes match
What is mutual authentication?
both parties (e.g., Alice and Bob) sign messages to authenticate each other,