Skip to content

modern-pdf-lib


modern-pdf-lib / md5

Function: md5()

md5(data): Uint8Array

Defined in: src/crypto/md5.ts:91

Compute the MD5 hash of the given data.

Parameters

data

Uint8Array

Input bytes.

Returns

Uint8Array

A 16-byte Uint8Array containing the MD5 digest.

Released under the MIT License.