cernica/hadamask: Client-side protection for vector databases with keyed orthogonal obfuscation and AES-256-GCM metadata
hadamask is an open-source client-side protection library for vector databases that applies a secret orthogonal transform to embeddings and AES-256-GCM encryption to metadata. It allows similarity searches to remain exact across nine database engines while ensuring an attacker with a database snapshot only sees obfuscated coordinates and encrypted fields. Open article →