decryptOdfEntry
fn
ubyte[] 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
encryptedData | The raw encrypted bytes. |
password | The decryption password. |
params | The encryption parameters (algorithm, KDF, salt, IV, etc.). |
Returns
The decrypted plaintext bytes.
Throws
OdfPackageException on unsupported algorithms or decryption failure.