Calculates SHA-256 hash of a mapped-field record or arbitrary object asynchronously.
Uses Web Crypto API (crypto.subtle) which is available in modern browsers (secure contexts)
and Node.js 15+.
Produces hex digests byte-for-byte identical to Node.js node:crypto's createHash('sha256')
over the canonical JSON produced by Canonicalize.
Calculates SHA-256 hash of a mapped-field record or arbitrary object asynchronously. Uses Web Crypto API (
crypto.subtle) which is available in modern browsers (secure contexts) and Node.js 15+.Produces hex digests byte-for-byte identical to Node.js
node:crypto'screateHash('sha256')over the canonical JSON produced by Canonicalize.