• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
reply
    Bookmark Topic Watch Topic
  • New Topic