Expand description
Global constants for AES Crypt implementation.
Includes version, KDF parameters, and recommended defaults.
Constants§
- AESCRYPT_
LATEST_ VERSION - Current AES Crypt file format version.
- BYTE_
LENGTH_ 32 - BYTE_
LENGTH_ 64 - DEFAULT_
PBKD F2_ ITERATIONS - Recommended PBKDF2 iteration count for 2025 security. Provides ~0.1–0.3s on modern hardware; balances usability and resistance to GPU attacks.
- DEFAULT_
PBKD F2_ LENGTH - Default key derivation output length (32 bytes = 256-bit key).
- DEFAULT_
SALT_ SIZE - Default salt size (16 bytes). Used for both ACKDF (required) and PBKDF2 (recommended).
- PBKD
F2_ MAX_ ITER - Maximum allowed PBKDF2 iterations (5 million).
- PBKD
F2_ MIN_ ITER - Minimum allowed PBKDF2 iterations.