# Is size Q equal to size SHA(Q)? [closed]

Assume d is a 128 bit random integer and P is base point of an elliptic curve and Q = dP is a point on the elliptic curve and SHA is a hash function with 128 bit output, my question is:
Is size Q equal to size SHA(Q)?
If not, then wich is smaller size?

• Duplicate of math.stackexchange.com/questions/475049/… – minar Aug 24 '13 at 16:01
• "The elliptic curve" is undefined, and very relevant. "Size (of) Q" can have several interpretations, for there are several means to define a point on an elliptic curve. No hash form the SHA family is 128-bit. – fgrieu Aug 24 '13 at 16:56
• Suppose we take only 128-bits out of 160-bits output in SHA-1 hash function. – star Aug 24 '13 at 17:10
• @star Consider this: what if we replace "elliptic curve" in your question with a different finite field, for example the ring of integers modulo n. Do you still think your question can be answered? Don't you think we'd need more information, for example the modulus? – orlp Aug 24 '13 at 18:30