2 releases

0.0.16 Jun 30, 2022
0.0.15 Nov 9, 2021

#14 in #unicode-normalization


Used in 2 crates

LGPL-3.0-or-later

35KB
457 lines

WASM bindings for json-digest

This crate is to be reexported in other WASM crates, like we do it in sdk-wasm. It is not meant to be used on its own.


lib.rs:

This library provides some algorithms to calculate cryptographically secure digests of JSON documents. Since JSON is an ambiguous serialization format, we also had to define a canonical deterministic subset of all allowed documents. Order of keys in an object and Unicode normalization are well-defined in this subset, making it suitable for hashing.

Dependencies

~3–4.5MB
~111K SLoC