Computes the SHA-512 hash of the input data.
The data to hash.
A promise that resolves to the SHA-512 hash as a byte array.
const hash = await sha512(new Uint8Array([1, 2, 3])) Copy
const hash = await sha512(new Uint8Array([1, 2, 3]))
Computes the SHA-512 hash of the input data.