AntiPattern
Crypto Misuse and Semantics
crypto-misuse-semantic-breakage
Encryption and authentication mechanisms get implemented with mismatched primitives—e.g., unauthenticated AES-CBC without per-message IVs or deterministic ciphertext replacing searchable semantics—so confidentiality guarantees are incomplete and database queries/indexes break due to lost equality/order properties.