Hashing and Digital Signatures Flashcards

Security+

1
Q

What is a hash?

A

A hash represents data as a short string of text, acting as a message digest or fingerprint.

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

Why is a hash considered a one-way trip?

A

Because it is impossible to recover the original message from the hash digest.

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

How are hashes used for confidentiality?

A

Hashes are used to store passwords securely by creating a one-way representation that cannot be reversed.

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

What does a hash verify about a downloaded document?

A

It verifies that the downloaded document is the same as the original, ensuring integrity.

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

What is a digital signature?

A

A digital signature authenticates the source of a message, provides integrity, and ensures non-repudiation.

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

What do hash functions do?

A

Hash functions take an input of any size and create a fixed-size string known as a message digest or checksum.

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

Why should a hash be unique?

A

Different inputs should never create the same hash; if they do, it results in a collision.

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

What is a known issue with MD5?

A

MD5 has a collision problem and should not be used for important applications due to vulnerabilities.

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

How can hashes be used to verify downloaded files?

A

Hashes may be provided on the download site; by comparing the downloaded file’s hash with the posted hash value, you can verify its integrity.

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

How is password storage improved with hashing?

A

Instead of storing the password, a salted hash is stored, which adds randomness to the hash, enhancing security during the authentication process.

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

What is the purpose of adding salt to a password?

A

Salt is random data added to a password when hashing to make each hash unique, preventing the use of rainbow tables and slowing down brute force attacks.

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

What happens when the same password is hashed with different salts?

A

Each user gets a different random hash, resulting in the same password creating different hashes.

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

What does a digital signature prove about a message?

A

It proves that the message has not been changed (integrity), identifies the source (authentication), and ensures the signature is genuine (non-repudiation).

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

How is a digital signature created?

A

It is created by signing the message with a private key. The message itself does not need to be encrypted.

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

How is a digital signature verified?

A

It is verified using the public key; any alteration in the message will invalidate the signature.

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