aspose file tools*
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
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


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework