SQLCypher -how to integrate custom algorithm?


#1

We need to use custom algorithm to encrypt data in our db. Is there an interface where we can inject our own?

If not, any ideas on how to approach this task?


#2

Hi @bshedrinsky

Are you referring to using a different cipher, or something else?


#3

Correct. No a standard cipher, our own


#4

Hi @bshedrinsky

If I may ask, what cipher are you looking to utilize? Can you share why AES-256 in CBC mode does not fit for your requirements?


#5

We’re looking to integrate CryptoPro cipher, which is Russian standard https://cryptopro.ru/

Thank you!


#6

Hi @bshedrinsky

You would need to implement and register your own crypto_provider. An example of our OpenSSL crypto provider can be found here.