deriveOdfKey

fnubyte[] deriveOdfKey(string password, const ref OdfEncryptionParams params)

Derives an encryption key from a password using PBKDF2.

Parameters

passwordThe password string.
paramsEncryption parameters specifying KDF type and iteration count.

Returns

The derived key bytes (32 bytes for AES-256).