Skip to content

modern-pdf-lib


modern-pdf-lib / sha384

Function: sha384()

sha384(data): Promise<Uint8Array<ArrayBufferLike>>

Defined in: src/crypto/sha256.ts:62

Compute the SHA-384 hash of the given data.

Parameters

data

Uint8Array

Input bytes.

Returns

Promise<Uint8Array<ArrayBufferLike>>

A 48-byte Uint8Array containing the SHA-384 digest.

Released under the MIT License.