decryptOdfEntry

fnubyte[] decryptOdfEntry(const(ubyte)[] encryptedData, string password, const ref OdfEncryptionParams params)

Decrypts ODF-encrypted content using the given password and parameters.

Supports AES-256-CBC with PBKDF2 (SHA-1 or SHA-256) key derivation.

Parameters

encryptedDataThe raw encrypted bytes.
passwordThe decryption password.
paramsThe encryption parameters (algorithm, KDF, salt, IV, etc.).

Returns

The decrypted plaintext bytes.

Throws

OdfPackageException on unsupported algorithms or decryption failure.