Ch2 Cryptography
Ch2 Cryptography
Chapter 2
Cryptography
Symmetric Cryptography
Symmetric Cryptography
Types of Cryptography
RSA Algorithm
Message Digest (One-way Hash) Functions
The message digest is a cryptographic hashing technique that is
used to ensure the integrity of a message.
Message and message digest can be sent together or separately
through a communication channel.
Receiver recalculates the Hash of the message and compares it
with the Message digest to ensure if any changes have been
made.
One-Way-Hash of Message digest means the hashing function
must be a one-way operation.
The original message must not be able to recreate.
The message digest is a unique fixed size bit string that is
calculated in a way that if a single bit is modified, it changes
50% of the message digest value.
Message Digest Algorithms
MD5
MD5 produces a 128-bit hash value that is used as a checksum to verify
the integrity.
Secure Hashing Algorithm (SHA)
Another most popular, more secure and widely used hashing algorithm
is Secure Hashing Algorithm (SHA). SHA-1 is a secure hashing algorithm
producing 160-bit hashing value
SHA-2 is even more secure, robust and safer hashing algorithm now.
SHA2 has the option to vary digest between 224 bits to 512 bits.
Hashed Message Authentication Code (HMAC)
It adds another feature of using the secret key in its operation. Both
peers only know this secret key. Therefore, in this case, only parties with
secret keys can calculate and verify hash.
Cryptography Tools
MD5 Hash Calculators
HashCalc
MD5 Calculator
HashMyFiles