Skip to main content

Crate refget_digest

Crate refget_digest 

Source
Expand description

Digest computation for GA4GH refget: SHA-512/24 with base64url encoding and RFC-8785 JSON Canonicalization Scheme (JCS).

Functionsยง

digest_json
Canonicalize then compute sha512t24u of a JSON value.
jcs_canonicalize
Canonicalize a JSON value according to RFC 8785 (JCS).
sha512t24u
Compute the GA4GH sha512t24u digest of the given data.