Search Header Logo

Understanding Hash Functions and Authentication

Authored by Geetha Chenpagapandian

Professional Development

Professional Development

Used 2+ times

Understanding Hash Functions and Authentication
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of SHA in data security?

To improve data transmission speed.

To create digital signatures.

To ensure data integrity.

To encrypt sensitive data.

Answer explanation

The primary purpose of SHA (Secure Hash Algorithm) is to ensure data integrity by producing a unique hash value for data. This allows verification that the data has not been altered, making it essential for data security.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of MD5?

MD5 is widely used for encryption.

MD5 is not collision-resistant.

MD5 is a secure hashing algorithm.

MD5 produces a unique hash for every input.

Answer explanation

MD5 is not collision-resistant, meaning that different inputs can produce the same hash. This vulnerability makes it unsuitable for security purposes, unlike secure hashing algorithms that are designed to avoid such collisions.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does SHA-256 improve upon SHA-1?

SHA-1 has a larger hash size than SHA-256.

SHA-1 is more secure due to its simpler algorithm.

SHA-256 is less complex than SHA-1, making it faster.

SHA-256 offers a larger hash size and a more complex algorithm, improving security against attacks.

Answer explanation

SHA-256 improves upon SHA-1 by offering a larger hash size (256 bits vs. 160 bits) and a more complex algorithm, which enhances security against various attacks, making it more robust than SHA-1.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main vulnerability associated with MD5?

Hash length vulnerabilities

Key management issues

Encryption weaknesses

Collision vulnerabilities

Answer explanation

The main vulnerability of MD5 is collision vulnerabilities, where two different inputs produce the same hash output. This undermines the integrity of the hash function, making it unsuitable for security purposes.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what scenario would you prefer using SHA over MD5?

When a smaller hash size is preferred.

When stronger security is needed.

When compatibility with older systems is required.

When speed is the top priority.

Answer explanation

SHA is preferred over MD5 when stronger security is needed, as SHA algorithms provide better resistance against collision attacks and are more secure for cryptographic applications compared to MD5.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output length of SHA-512?

256 bits

384 bits

1024 bits

512 bits

Answer explanation

SHA-512 produces a fixed output length of 512 bits, making it suitable for cryptographic applications requiring high security. Therefore, the correct answer is 512 bits.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which hashing algorithm is considered more secure: SHA-1 or SHA-256?

SHA-1

MD5

SHA-512

SHA-256

Answer explanation

SHA-256 is more secure than SHA-1 due to its longer hash length and resistance to collision attacks. SHA-1 has known vulnerabilities, making SHA-256 the preferred choice for secure hashing.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?