How to encrypt in pgcrypto compatible method in python

For the project I'm working on, I would like to use pgcrypto-compatible encryption in python. And the specific part of public key encryption.

The problem is that most (all) implementations use a subprocess, for example fork gpg approaches, since I have to encrypt a lot of data (50,000+ records per session), this approach will not work for me.

Can someone give me some pointers on how this can be achieved?

+4
source share
1 answer

Take a look at PyCrypto, it doesn't seem to use forking. pgcrypto can be configured to fit most cryptoconfigurations.

+1
source

All Articles