Avoid trailing newlines with printf '%s' so digests and tokens match browser output byte-for-byte.
CLI Equivalents Reference
Run the exact same transformations in your terminal or automation pipelines. Switch between GNU/Linux, BSD/macOS, and portable Python 3 one-liners.
Convert raw UTF-8 streams into plain hex strings, 8-bit binary groups, or reverse hex back to raw bytes.
Validate syntax, format with 2/4-space indentation, or compact payloads for HTTP headers and logs.
Generate cryptographic checksums matching browser crypto.subtle.digest output.
Convert raw byte counts into IEC binary units (GiB) or SI decimal units (GB).
Translate Unix epoch seconds to RFC 3339 / ISO 8601 UTC timestamps across GNU and BSD date implementations.