ddn.crypto.legacy
Legacy Cryptographic Algorithms.
WARNING: DEPRECATED ALGORITHMS
This package contains cryptographic algorithms that are deprecated and should NOT be used for new encryption. They are provided solely for backward compatibility with older file formats and protocols.
For new code, use:
- AES-256-GCM or ChaCha20-Poly1305 for authenticated encryption
- AES-256-CBC with HMAC for encryption + authentication
- SHA-256 or SHA-3 for hashing
- PBKDF2 with SHA-256 or Argon2id for key derivation
Use cases for legacy algorithms:
- ODF 1.0/1.1 encrypted documents (Blowfish + CFB-8)
- ODF 1.2 legacy documents (Triple DES + CBC)
- Old PDF encryption (RC4)
- Legacy TLS 1.0/1.1 (RC4, 3DES)
- Old certificates and signatures (MD5, SHA-1)
See Also
LEGACY.md for implementation status.
No exported symbols.