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.1.0
Authors
Selva Chezhian
Versions
-
0.1.1
-
source
- 0.1.1 source June 29, 2026 (22.5 KB)
-
aarch64-linux
- 0.1.1 multi-abi June 29, 2026 (4.26 MB)
-
aarch64-linux-musl
- 0.1.1 multi-abi June 29, 2026 (4.24 MB)
-
aarch64-mingw-ucrt
- 0.1.1 multi-abi June 29, 2026 (1.99 MB)
-
arm64-darwin
- 0.1.1 multi-abi June 29, 2026 (587 KB)
-
arm-linux
- 0.1.1 multi-abi June 29, 2026 (5.61 MB)
-
x64-mingw-ucrt
- 0.1.1 multi-abi June 29, 2026 (4.59 MB)
-
x86_64-darwin
- 0.1.1 multi-abi June 29, 2026 (597 KB)
-
x86_64-linux
- 0.1.1 multi-abi June 29, 2026 (4.52 MB)
-
x86_64-linux-musl
- 0.1.1 multi-abi June 29, 2026 (4.51 MB)
-
-
0.1.0
-
source
- 0.1.0 source June 29, 2026 (22 KB)
-
aarch64-linux
- 0.1.0 multi-abi June 29, 2026 (2.81 MB)
-
arm64-darwin
- 0.1.0 multi-abi June 29, 2026 (399 KB)
-
x64-mingw-ucrt
- 0.1.0 multi-abi June 29, 2026 (3.09 MB)
-
x86_64-darwin
- 0.1.0 multi-abi June 29, 2026 (403 KB)
-
x86_64-linux
- 0.1.0 multi-abi June 29, 2026 (3.01 MB)
-