Function: hashData()
hashData(Defined in: crypto.ts:160 Compute a SHA-256 digest of a UTF-8 string and return it as lowercase hex. Not for password storage. SHA-256 is fast by design — use a deliberately slow KDF (data):string
bcrypt, argon2, or scrypt) for
password-equivalent material. This helper is intended for
non-reversible identifiers, content hashes, and idempotency keys.
Parameters
data
string
UTF-8 input.
Returns
string
64-character lowercase hex digest.