@hackage fpe0.1.2
Format-preserving encryption.
Categories
License
MIT
Maintainer
Galen Huntington
Links
Versions
Installation
Dependencies (4)
- base >=4.9 && <5
- bytestring >=0.10 && <0.13
- integer-logarithms >=1 && <1.1
- vector >=0.12 && <0.14 Show all…
Dependents (0)
Format-preserving encryption encrypts data without changing its format. An example is encrypting a 16-digit credit card number as 16 digits. The encryption uses a key, which is secret, and an optional tweak, which can be public and varies for each record (such as the cardholder's name), and provides extra security.
This module implements FF1. Another similar algorithm, FF3, is no longer considered secure, and so is not included (yet).
For example usage, see ff1test.hs.