Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Beginning Java and the fly likes Encryption and decryption program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Encryption and decryption program " Watch "Encryption and decryption program " New topic

Encryption and decryption program

kailas matsagar

Joined: Feb 01, 2011
Posts: 3

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

Joined: Oct 25, 2008
Posts: 2700

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.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
kailas matsagar

Joined: Feb 01, 2011
Posts: 3

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

Joined: Sep 20, 2010
Posts: 3680

Wouter means, what are you going to use it for?

Anyway, what have you done so far? Where are you getting stuck?
It is sorta covered in the JavaRanch Style Guide.
subject: Encryption and decryption program