casey / filepack

#⃣ file verification utility
https://filepack.com/
Creative Commons Zero v1.0 Universal
37 stars 3 forks source link

Use JSON to calculate root hash #70

Closed casey closed 1 month ago

casey commented 1 month ago

Use JSON instead of an ad-hoc binary serialization format to calculate the root hash.

This will need to be revisited. We use serde_json, which does not guarantee canonical JSON output. However, for now, I think this is better than using something random.