Digital Signature Purpose
To authenticate the identity of the sender
To detect if a message has been tampered with or changed
Encryption
Using an algorithm to convert message data into a form that is not understandable without a key to decrypt the text
Digital Signature How it is Used
Hash produced from message
Hash encrypted with private key
Encrypted hash known as digital signature
Signature added to message
Received message and signature decrypted with public key
Message re-hashed or Hash calculated from message