Skip to content

sha512

sha512(data): MaybePromiseLike<Uint8Array<ArrayBuffer>>

Defined in: packages/crypto-hash/src/sha2/sha512.ts:16

SHA-512 (FIPS 180-4). Prefers the Web Crypto kernel (crypto.subtle, real Promise) when available; falls back to the TS kernel (synchronous, no Promise allocation) otherwise.

Uint8Array<ArrayBuffer>

MaybePromiseLike<Uint8Array<ArrayBuffer>>