[Cryptography-dev] Private Set Intersection

Prashanth Ravindran prashanthravindran at gmail.com
Wed Dec 12 09:04:44 EST 2018


Hi,

I am trying to implement private set intersection using the cryptography library, and I would like to take the bytes of a private key and do a hash(key_material, message).

1) How do I get the bytes for an instance of cryptography.hazmat.backends.openssl.ec._EllipticCurvePrivateKey
2) Is there any way of encrypting a message using the above private key. 

Thanks,
Prashanth
 


More information about the Cryptography-dev mailing list