merkle.rs icon indicating copy to clipboard operation
merkle.rs copied to clipboard

Serialize the hash algorithm name in protobuf.

Open afck opened this issue 7 years ago • 0 comments

I think this idea applies not only to serde, but to protobuf, too: https://github.com/SpinResearch/merkle.rs/issues/30#issuecomment-389130803

Serializing the hash algorithm as a string like "SHA256", and on deserialization picking the appropriate constant from ring would be convenient.

afck avatar May 17 '18 13:05 afck