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.3, < 4.1.dev

Authors

Selva Chezhian

Versions

  1. 0.1.1 June 29, 2026 (22.5 KB)
  2. 0.1.1 June 29, 2026 x86_64-linux (4.52 MB)
  3. 0.1.1 June 29, 2026 x86_64-linux-musl (4.51 MB)
  4. 0.1.1 June 29, 2026 x86_64-darwin (597 KB)
  5. 0.1.1 June 29, 2026 x64-mingw-ucrt (4.59 MB)
  6. 0.1.1 June 29, 2026 arm64-darwin (587 KB)
Show all versions (16 total)

Pushed by

SHA 256 checksum