Concept Flow - Digital signatures
Message to send
Hash the message
Encrypt hash with sender's private key
Send message + encrypted hash (digital signature)
Receiver gets message + signature
Receiver hashes received message
Receiver decrypts signature with sender's public key
Compare decrypted hash with receiver's hash
Message is authentic and unchanged
No
Message is altered or sender is fake
The sender creates a hash of the message and encrypts it with their private key to form a digital signature. The receiver decrypts the signature with the sender's public key and compares it to their own hash of the message to verify authenticity.