π AshFeistelCipher - Encrypted Integer IDs for Ash Resources
Sequential IDs (1, 2, 3...) leak business information. AshFeistelCipher provides a declarative DSL to encrypt integer IDs using Feistel cipher, transforming sequential integers into non-sequential, unpredictable values automatically via database triggers.
Secure IDs without UUIDs - Hide sequential patterns while keeping efficient integer IDs (bigint)
Automatic encryption - Database triggers handle encryption transparently
Collision-free - Deterministic one-to-one mapping
Declarative DSL - Clean, Ash-idiomatic syntax
Hex: https://hex.pm/packages/ash_feistel_cipher
GitHub: https://github.com/devall-org/ash_feistel_cipher
Built on top of feistel_cipher library.
Key Features
Quick Example
Installation
Built on top of feistel_cipher library.
