Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

RSA Encryption/Decryption Program in C++?

I am creating a project for class that takes an input of 2 integers from the user, checks those integers for primality, generates public and private keys, encrypts a string from the user, and decrypts that same string. Can anyone help me with some code? I am completely lost.

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    If you're programming in Windows you can check out the crypto api.

    If you actually have to implement the libs, then you might want to look at some wiki articles on Rijndael.

    AES might be a bit much, but you can use the links to implement something simpler, if you like.

Still have questions? Get your answers by asking now.