fpe: Format-preserving encryption.

[ cryptography, library, mit ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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.12), integer-logarithms (>=1 && <1.1), vector (>=0.12 && <0.14) [details]
License MIT
Author
Maintainer Galen Huntington
Revised Revision 1 made by galen at 2023-01-13T02:00:47Z
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 2019-02-03T07:03:20Z
Distributions NixOS:0.1.2
Downloads 1081 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-02-03 [all 1 reports]

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.