algorithm property

EncryptionAlgorithm algorithm
final

Encryption algorithm to use.

Default: AES-256-GCM (recommended for most use cases)

Choose based on your needs:

  • AES-256-GCM: Best balance (recommended)
  • AES-256-CBC: Legacy compatibility
  • ChaCha20-Poly1305: Mobile-optimized

Implementation

final EncryptionAlgorithm algorithm;