Serde JSON Canonicalization
JSON Canonicalization Scheme RFC-8785 defines a JSON serialization scheme to allow using JSON data in cryptographic operations that rely byte level reproduction of data. It can be used instead of storing the serialized format as a BASE64 encoded string or similar packaging, allowing easier handling of JSON formatted data that can be canonicalized before feeding it to a cryptographic function.
Licensed under MIT license (LICENSE or https://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.
Compare to serde_jcs
I create this crate because serde_jcs
seems to be abandoned and the issues in that repository
list a few things where it differs from the RFC.
This crate aims to be 100% compatible with the RFC to be a suitable implementation in a multi-language environment.