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
 
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to