N
novosibirsk
Hello,
I am faced with the following problem:
0. In pure Python, encrypt some data using AES.
1. In pure Python, encrypt the key used in 0 with RSA, given a private
key in PEM format.
2. In C, using OpenSSL, decrypt the AES key from 0 using the public
key that corresponds to private key in 1.
3. In C, using OpenSSL, decrypt the data from 0 with AES key from 2.
Question --- is there a library I can use for steps 0 and 1?
Thanks!
I am faced with the following problem:
0. In pure Python, encrypt some data using AES.
1. In pure Python, encrypt the key used in 0 with RSA, given a private
key in PEM format.
2. In C, using OpenSSL, decrypt the AES key from 0 using the public
key that corresponds to private key in 1.
3. In C, using OpenSSL, decrypt the data from 0 with AES key from 2.
Question --- is there a library I can use for steps 0 and 1?
Thanks!