Answer the question
In order to leave comments, you need to log in
C++ how to encrypt string using rsa?
I have exponent and modulus
How to encrypt a string?
If possible, then using crypto++
https://cryptopp.com/wiki/RSA_Cryptography - did not figure it out
Answer the question
In order to leave comments, you need to log in
Crypted = message ^ e mod n, exponentiation and modulus operations are enough for you. Usually there is a ready-made modexp. And if Crypto++ is too tough for you, take a look at OpenSSL.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question