Bamboo uses 512-bit (64-byte) Blake2b hashes. My gut feeling* is that this is bigger than necessary.
Using 256-bit hashes would reduce an encoded entry by about 75 bytes on average (considering ~⅓ of entries have lipmaa_links.) That's a 25-30% reduction. (Currently an encoded entry can be from 232 to 322 bytes.)
This seems significant, since from what I've seen with Scuttlebutt, there are going to be a lot of entries stored locally, and it's common for the entry to be larger than its payload — for instance, all entries with seq > 1 are longer than any allowed Twitter message.
What do you think?
* I am not a cryptographer! But I've been working with digests & crypto for over a decade...
Bamboo uses 512-bit (64-byte) Blake2b hashes. My gut feeling* is that this is bigger than necessary.
Using 256-bit hashes would reduce an encoded entry by about 75 bytes on average (considering ~⅓ of entries have lipmaa_links.) That's a 25-30% reduction. (Currently an encoded entry can be from 232 to 322 bytes.)
This seems significant, since from what I've seen with Scuttlebutt, there are going to be a lot of entries stored locally, and it's common for the entry to be larger than its payload — for instance, all entries with seq > 1 are longer than any allowed Twitter message.
What do you think?
* I am not a cryptographer! But I've been working with digests & crypto for over a decade...