File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 4616

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

Anyway, what have you done so far? Where are you getting stuck?

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
I agree. Here's the link:
subject: Encryption and decryption program
It's not a secret anymore!