taoensso / nippy

The fastest serialization library for Clojure
https://www.taoensso.com/nippy
Eclipse Public License 1.0
1.04k stars 60 forks source link

[#163] add test to calc checksum from serialised output #165

Closed lowecg closed 5 months ago

lowecg commented 5 months ago

I've added a simple test and successfully run on JDK 17 and 21.

It doesn't cover compressed or encrypted scenarios yet, but those can be added easily enough

ptaoussanis commented 5 months ago

Thanks for this! I ended up taking a slightly different approach, first making the stress data deterministic and then adding a hash check.

But the principle is the same 👍