Skip to content

Key

The encryption/decryption key is set by passing a string 16 characters long (128-bit key) or 32 characters long (256-bit key).

For security reasons this key is not stored directly as a string in memory by SetEncryptionKey or SetDecryptionKey.

Note: do not lose the key. Once the file is encrypted, without the key it is impossible to recover the file.