Tell me more ×
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.

Does anybody know any free implementation of either order preserving encryption or order preserving hashing? I've found some codes like CMPH but I need to dynamically add new DATA and that's why most of them doesn't apply.

Thank you!

share|improve this question

1 Answer

CryptDB implements order-preserving encryption, and its source code is publicly available. In fact, rather than building your own system that uses order-preserving encryption, you might try just using CryptDB.

Alternatively, in a pinch, I suppose you could take one of the papers that describes an order-preserving encryption algorithm and implement it yourself.

share|improve this answer
I looked at the code and still it gets very complex when it comes in OPE. What they do is that they choose random numbers from a distribution and then they check for the order?Or this is the naive approach? – curious Apr 11 at 13:49

Your Answer

 
discard

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.