Hashes Flashcards

1
Q

MD5 (Message Digest 5)

A

128-bit output

Deprecated - only used to verify integrity of files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SHA (Secure Hash Algorithm)

A

SHA-1: 160-bit output
SHA-2: -256, -512, -224, -384)
SHA-3 (Keccak): 224, 256, 382, 512

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HMAC (Hash-based Message Authentication)

A

Different versions using MD5 and SHA1 hashes.
Uses shared secret key to randomize; provides integrity (MD5/SHA1) and authenticity (shared key).
Helps protect against hacked hashes.
Often used by IPsec and TLS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

RIPEMD (RACE Integrity Primitives Evaluation Message Digest)

A

Different version for 160, 128, 256 and 320 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

bcrypt

A

60 character string
Key stretching technique; common on Linux/Unix to protect passwords in shadow password file.
Salts password then encrypts with Blowfish block cipher. Can do multiple times to make more secure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

PBKDF2 (Password-based Key Derivation Function 2)

A

128, 256 and 512 are common but depends on how implemented.
Key stretching technique which uses salts of at least 64 bits and a pseudo-random function like HMAC.
Used by WPA2, Apple iOS mobile and Cisco OS.
Some applications use the process up to 1M times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly