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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there open source implementations of SSE and OPE? Can anyone please point to sample codes, if available.


If cryptDB is not an option, what other options are available?
(Indeed, these schemes are weak — which is why cryptDB proposes onion layers for encryption.)

share|improve this question

closed as off-topic by sashank, otus, Dmitry Khovratovich, figlesquidge, John Deters Jun 20 '14 at 4:15

  • This question does not appear to be about cryptography within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1) These kinds of encryption are inherently weak 2) Take a look at CryptDB – CodesInChaos Oct 23 '13 at 11:49
Understand the design of these schemes and implement them :) – curious Oct 23 '13 at 14:28
This question appears to be off-topic because it is about reference implementations and software recommendations – sashank Jun 18 '14 at 22:59

Yes, in fact there is an alternative to CryptDB. After our libraries pass muster with crypto consultants, my company will be open-sourcing our crypto. We implement Boldyreva's OPE scheme, SSE and a few kinds of format-preserving encryption. We're also looking at expanding our stable of cryptographic algorithms, so in the near future we might implement other OPE and searchable encryption schemes. Unfortunately I can't be more specific right now, as it would be imprudent from a business standpoint. I'll try to remember to edit this question with a link when the announcement is made; it should be by the end of this year.

share|improve this answer
Oh great, now I have to bookmark your answer to check it again by the end of the year. ;) [+1] – e-sushi Oct 24 '13 at 16:09
We are waiting for the link :) – curious Jan 6 '14 at 11:36
I'm waiting for the go-ahead from my boss :) – pg1989 Jan 6 '14 at 23:16
Not wanting to be pushy, but do you have any updated info on this yet? – e-sushi May 8 '14 at 22:31
None yet. I want the code to be open-sourced just as much as you do, trust me. Company politics... sigh. Can you give me your email? I'd be happy to discuss stuff and (maybe) share some older versions of it. – pg1989 May 8 '14 at 22:34

cryptdb has these implementations inside it . But their licensing is not Open sources as in GPL etc . They say its available for research purposes !

I have implemented Symmetric Searchable Encryption in Java, its LGPL

share|improve this answer

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