verifyOdfChecksum

fnbool verifyOdfChecksum(const(ubyte)[] plaintext, const(ubyte)[] expectedChecksum, OdfChecksum checksumType)

Verifies a checksum against decrypted content.

Parameters

plaintextThe decrypted content.
expectedChecksumThe expected checksum bytes.
checksumTypeThe checksum algorithm.

Returns

true when the checksum matches.