Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encryption and decryption program

 
kailas matsagar
Greenhorn
Posts: 3
C++ Java Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to do program for encryption and decryption of char

like when i m entered ABC that time it will be encrypted in another word format like XYZ.
and decrypt that text in original form like ABC.



please help me
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is a hobby project then please continue, if it's not then DON'T implement your own encryption. Encryption can be very hard to implement and much expert knowledge is necessary.

In the case of hobby: You can look at ROT13 as an example.
 
kailas matsagar
Greenhorn
Posts: 3
C++ Java Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Wouter,
but i want just simple program like when i am entered ABC that will print like XYZ. and vice versa...
 
Stephan van Hulst
Bartender
Pie
Posts: 6083
71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter means, what are you going to use it for?

Anyway, what have you done so far? Where are you getting stuck?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic