Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rachit mehra
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic