Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

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.
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The free Botan library has an FPE implementation of one of the methods described in your link.

share|improve this answer
Thanks. Looks quite promising. –  Dennis Buchmann Jul 23 '12 at 21:54
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.