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?
source share