You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`erlffx`: Format Preserving Encryption - FFX for Erlang
12
-
13
-
14
-
---------
15
-
16
-
`erlffx` is an Erlang implementation of the mechanism described in the 2010 paper [The FFX Mode of Operation for Format-Preserving Encryption](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.304.1736&rep=rep1&type=pdf) by Bellare, Rogaway and Spies. It is based on an existing [Java implementation](https://github.com/michaeltandy/java-ffx-format-preserving-encryption) by Michael Tandy.
17
-
18
-
* AES-128 / AES-192 (only Erlang 19 and up) / AES-256 keys are supported (CBC mode)
19
-
* Any positive word length is supported
20
-
* Any radix / alphabet size between 2 and 255 is acceptable (10 by default)
21
-
* Optional 'tweak' values may be defined
22
-
* Number of rounds is configurable (10 by default)
23
-
24
-
The code was successfully tested on generations 17, 18 and 19 of Erlang/OTP; the unit tests themselves were written using the following lists of test vectors:
25
-
*[AES FFX Test Vector Data](http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/ffx/aes-ffx-vectors.txt)
0 commit comments