Consider the following hash function based on RSA. $M_i < n$. The hash value of a message consisting of two blocks is calculated by
$H(M) = H(M_1,M_2) = ((M_1^e\ mod\ n)\ XOR\ M_2)^e mod\ n$
Q1.Does this hash function can produce fixed output size?
My answer: Because any output is limited to the modulus(n), the hash function can produce fixed output size?(I think of it for a long time, but I still wonder about it)
Q2.Is the hash function easy to calculate?
My answer: Because the hash function just contain encryption and XOR operations, it is easy to calculate.(Is it right or completed?)