This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If generated public and private key pairs using RSA algorithm, and after that I want to encrypt some data with the public key. How I can achieve it. I need an example program to encrypt data using rsa public key. Is it necessary to use rsa algorithm in encyption, when we used rsa algorithm to created public and private keys. Please give me the answer with an example.