This repository contains a pure python implementation of the NIST draft for format preserving encryption (FFX).
A few comments on format preserving encrpytion will follow. For now, you can find the original NIST draft here: https://csrc.nist.gov/publications/detail/sp/800-38g/rev-1/draft