Remix.run Logo
Sharlin 2 days ago

For an arbitrarily long input, you still have to compress it to constant size somehow.

nkrisc 2 days ago | parent [-]

Or pad all entries with 0s to an arbitrarily long size. The 0s can be assumed, and not actually stored. Therefore arbitrarily long entries need not be shortened.

Sharlin 2 days ago | parent [-]

I don't think there are any reasonable use cases for a non-constant-length hash.