upvote
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.
reply
I don't think there are any reasonable use cases for a non-constant-length hash.
reply