To hash (UTF-8 encoded before hashing).
SHA-256 hash as raw bytes or hex string, depending on asHex.
Computes the SHA-256 hash of a UTF-8 message string.
To hash (UTF-8 encoded before hashing).
Optional: True returns a hex-encoded hash string; otherwise returns raw bytes.
SHA-256 hash as raw bytes or hex string, depending on asHex.
Computes the SHA-256 hash of a UTF-8 message string.
To hash (UTF-8 encoded before hashing).
Optional: True returns a hex-encoded hash string; otherwise returns raw bytes.
SHA-256 hash as raw bytes or hex string, depending on asHex.
Computes the SHA-256 hash of a UTF-8 message string.