fpe: Format-preserving encryption.

[ cryptography, library, mit ] [ Propose Tags ]

[Skip to Readme]
Versions [faq] 0.1.0, 0.1.1
Dependencies base (>=4.9 && <5), bytestring (==0.10.*), integer-logarithms (>=1 && <1.1), vector (==0.12.*) [details]
License MIT
Maintainer Galen Huntington
Category Cryptography
Home page https://github.com/galenhuntington/fpe#readme
Bug tracker https://github.com/galenhuntington/fpe/issues
Source repo head: git clone https://github.com/galenhuntington/fpe
Uploaded by galen at Sun Feb 3 07:03:20 UTC 2019
Distributions NixOS:0.1.1
Downloads 184 total (22 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-03 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for fpe-0.1.1

[back to package description]

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.