3 ms·
> Footer indexed So, like ZIP? > Uses XXH3 for integrity checks I don’t think XXH3 is suitable for that purpose. It’s not cryptographically secure and design
by sedatk 9mo ago
> Footer indexed
So, like ZIP?
> Uses XXH3 for integrity checks
I don’t think XXH3 is suitable for that purpose. It’s not cryptographically secure and designed mostly for stuff like hash tables (e.g. relatively small data).
- MallocVoidstar 9mo ago> It’s not cryptographically secure Neither is CRC32. I'm pretty sure xxhash is a straight upgrade compared to CRC32.
- myrmidon 9mo ago> I'm pretty sure xxhash is a straight upgrade compared to CRC32. Unclear; performance should be pretty similar to CRC32 (depending on implementation), and since integrity checking can basically be done at RAM read speeds this should not matter either way.
- zigzag312 9mo agoWhy would it need to be cryptographically secure for this use case?