Information Security 06 Hashing and Digital Signatures
Information Security 06 Hashing and Digital Signatures
ArfanShahzad.com
Course Outline
ArfanShahzad.com
Hashing
• The hash function takes the input data and applies a mathematical
algorithm to produce the hash value, which is unique to the input data.
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
• Given the same input, the hash function will always produce the same
hash value.
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
• However, it's important to note that older hash functions like MD5
and SHA-1 are considered weak and are not recommended for
security-critical applications due to known vulnerabilities.
ArfanShahzad.com
Hashing cont…
• However, it's important to note that older hash functions like MD5
and SHA-1 are considered weak and are not recommended for
security-critical applications due to known vulnerabilities.
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Hashing cont…
ArfanShahzad.com
Digital Signatures
• They ensure that the sender of the message is verified, and any
alterations to the message can be detected.
ArfanShahzad.com
Digital Signatures cont...
• The recipient can use the corresponding public key to verify the
signature and confirm the authenticity of the sender.
ArfanShahzad.com
Digital Signatures cont...
• This allows the recipient to verify that the document has not been altered
since it was signed.
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
• The recipient can then use the sender's public key to decrypt the
signature and compare it with a computed hash value of the received
document.
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com
Digital Signatures cont...
ArfanShahzad.com