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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client and Server side encryption and decryption by using AES or RSA using NIO and Netty framework
 
Similar Threads
Decryption of file is taking too much time.
need to generate RSA keys from txt files
bad padding exception
"javax.crypto.BadPaddingException: pad block corrupted" using BouncyCastle and DESede: How to avoid?
BadPaddingException: Data must start with zero