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.)

  • 1
    $\begingroup$ 1) These kinds of encryption are inherently weak 2) Take a look at CryptDB $\endgroup$ – CodesInChaos Oct 23 '13 at 11:49
  • $\begingroup$ Understand the design of these schemes and implement them :) $\endgroup$ – curious Oct 23 '13 at 14:28
  • 4
    $\begingroup$ This question appears to be off-topic because it is about reference implementations and software recommendations $\endgroup$ – sashank Jun 18 '14 at 22:59
  • $\begingroup$ I have extracted the OPE code from cryptoDB: github.com/hilder-vitor/ope-from-cryptodb It makes it easier to use this scheme, because we don't need to encrypt the whole cryptoDB. And also, I've made a Makefile and a simple example to make it more friendly. $\endgroup$ – Hilder Vitor Lima Pereira Jun 18 '16 at 11:30

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

  • $\begingroup$ In fact, the LICENSE file that comes with the cryptdb's source code says that the software is under GPL v3. $\endgroup$ – Hilder Vitor Lima Pereira May 26 '16 at 13:22

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.

  • 2
    $\begingroup$ Oh great, now I have to bookmark your answer to check it again by the end of the year. ;) [+1] $\endgroup$ – e-sushi Oct 24 '13 at 16:09
  • $\begingroup$ We are waiting for the link :) $\endgroup$ – curious Jan 6 '14 at 11:36
  • $\begingroup$ I'm waiting for the go-ahead from my boss :) $\endgroup$ – pg1989 Jan 6 '14 at 23:16
  • $\begingroup$ Not wanting to be pushy, but do you have any updated info on this yet? $\endgroup$ – e-sushi May 8 '14 at 22:31
  • $\begingroup$ 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. $\endgroup$ – pg1989 May 8 '14 at 22:34

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