PiiCipher lets you search encrypted PII columns in ActiveRecord without ever storing or querying plaintext. It generates HMAC-SHA256 blind indexes alongside your ciphertext — trigram arrays for partial (substring) searches and single hashes for exact-match lookups. The hash functions run in a native Rust extension for performance. Query interception is transparent: call `where` as normal and PiiCipher rewrites the query against the blind index automatically.
Required Ruby Version
>= 3.4, < 4.1.dev
Authors
Selva Chezhian
Versions
- 0.1.1 June 29, 2026 (22.5 KB)
- 0.1.1 June 29, 2026 x86_64-linux (4.52 MB)
- 0.1.1 June 29, 2026 x86_64-linux-musl (4.51 MB)
- 0.1.1 June 29, 2026 x86_64-darwin (597 KB)
- 0.1.1 June 29, 2026 x64-mingw-ucrt (4.59 MB)
- 0.1.1 June 29, 2026 aarch64-mingw-ucrt (1.99 MB)