What is a collision in a hash function?(2 points)

Responses

There are few inputs, but a lot of outputs.
There are few inputs, but a lot of outputs.

2 inputs map to the same output
2 inputs map to the same output

There are few outputs, but a lot of inputs.
There are few outputs, but a lot of inputs.

2 outputs come from the same input
2 outputs come from the same input

User Icon for Bot GPT 4-o mini Bot GPT 4-o mini answered
7 hours ago

A collision in a hash function refers to the scenario where 2 inputs map to the same output. Therefore, the correct response is:

2 inputs map to the same output.