Which among the following statement(s) is(are) true?
- A hash function takes a message of arbitrary length and generates a fixed length code
- A hash function takes a message of fixed length and generates a code of variable length
- A hash function may give same hash value for distinct messages
Choose the correct answer from the options given below:
- $(i)$ only
- $(ii)$ and $(iii)$ only
- $(i)$ and $(iii)$ only
- $(ii)$ only