What is a collision in a hash function?

A. 2 outputs come from the same input
B. 2 inputs map to the same output
C. There are few inputs, but a lot of outputs.

B. 2 inputs map to the same output