Hashing Flashcards
What is Hashing?
The process of transforming any given key or a string of characters into another value. It takes a variable length message and turns it into a fixed length message. Information is sent to interpret the data. The receiver verifies the data’s integrity and attempts to get the same answer as the sender. The data is disregarded if it does not have the right output.
Give some details about Message Digest 5 (MD5).
128-bit
Weakest
Prone to collisions
Give some details about Secure Hashing Algorithm – 1 (SHA-1).
Successor to MD5
160-bit
Collision Attacks: tries to find two inputs producing the same hash value, i.e. a hash collision.
Give some details about Secure Hashing Algorithm – 2 (SHA-2).
Successor to SHA-1
224, 256, 384, 512 bits
Strongest
Give some details about RIPEMD.
Designed as a replacement to MD5
128, 160, 256, 320-bit variants
Give some details about Hashed Message Authenticate Code (HMAC).
Data integrity and authenticity
Keyed hashing function
Used with MD5, SHA-1, and SHA-2
What is Salting?
A technique to protect passwords stored in databases by adding a string of 32 or more characters.