This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Security and the fly likes Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework" Watch "Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework" New topic
Author

Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework

rachit mehra
Greenhorn

Joined: Jul 06, 2011
Posts: 13
I am trying to encrypt my data ("Hello!" ) in client side( NIOClientNew.java )and send it to the Netty server and decrypt the data in Netty handler Class for security.

Any one suggest me ,how can i encrypt and decrypt the data by using RSA or AES?
Here i am attaching my client side code and server side code, where i have to write encryption .


// client side code

//server side code


 
wood burning stoves
 
subject: Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework