fpe: Format-preserving encryption.

[ cryptography, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.1.2
Dependencies base (>=4.9 && <5), bytestring (>=0.10 && <0.13), integer-logarithms (>=1 && <1.1), vector (>=0.12 && <0.14) [details]
License MIT
Author Galen Huntington
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 2023-07-24T04:20:31Z
Distributions NixOS:0.1.2
Downloads 1192 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-07-24 [all 1 reports]

Readme for fpe-0.1.2

[back to package description]

Hackage Build status

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.