Which among the following statement(s) is (are) true?
(A) A hash function takes a message of arbitrary length and generates a fixed length code.
(B) A hash function takes a message of fixed length and generates a code of variable length.
(C) A hash function may give same hash value for distinct messages.
Choose the correct answer from the options given below:
1
(A) only
2
(B) and (C) only
3
(A) and (C) only
4
(B) only