MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Networks
Hash Functions
Q
What is Ci in the bit-by-bit XOR hash function, that is Ci = bi1 + bi2.….. + bim
AA. Number of n bit blocks
BB. Ith bit of the hash code
CC. Ith bit in jth block
DD. Xor operation
Correct Answer:
B. B. Ith bit of the hash code
Explanation:
“m” is the number of n-bit blocks in the input, bij is the ith bit in the jth block, ci is the ith bit of the hash code. Operation between the bits is exclusive OR and this operation is performed on every input block.