etcimon / botan

Block & stream ciphers, public key crypto, hashing, KDF, MAC, PKCS, TLS, ASN.1, BER/DER, etc.
Other
86 stars 22 forks source link

How can I decode encrypted msg like openssl #50

Closed hsllany closed 1 year ago

hsllany commented 4 years ago

OpenSSL provide a method RSA_public_decrypt, which can decrypt using the public key. Is any similar method in Botan, or how can I do that using Botan?

Thanks very much.

etcimon commented 1 year ago

This example should be available in the examples/pubkey