BBVA / qed

The scalable, auditable and high-performance tamper-evident log project
https://qed.readthedocs.io/
Apache License 2.0
95 stars 19 forks source link

Encode digests in APIs and CLI using the same formatting (hexadecimal preferred) #127

Open jllucas opened 5 years ago

jllucas commented 5 years ago

Digests are of "hashing.Digest" type (byte slice), which get applied a base64 encoding in a json serialization. The goal is to avoid the base64 encoding.

gdiazlo commented 5 years ago

I think we need to implement marshalers and unmarshalers to our data types, so they get encoded as we want, instead of using the default rules of the json package.