I'm looking for a general, free implementation of Format-preserving encryption as described in this article and on wikipedia. Possibly in a well established cryptography toolkit.
My intention is to use it to add encryption to an existing open source data store interface, which would require support for the basic database field types (e.g. SQL compliant) of the implementation.
So far, I could only find commercial implementations like the ones offered by Voltage Security and IRI.
- Edit 1: Although it would be nice if a single implementation could meet all of the above mentioned requirements, partial implementations would also be satisfactory.