File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Encryption and Decryption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Encryption and Decryption" Watch "Encryption and Decryption" New topic

Encryption and Decryption

James Laison

Joined: Dec 29, 2005
Posts: 18
I know it is possible, but i will like to know the most suitable encryption algorithm for the below task:

A file will be encrypted in php and decrypted in java or encrypted in java and decrypted in php.

I know it is possible but will like to knowthe most suitable encryption algorithm.
Adam Richards
Ranch Hand

Joined: Nov 03, 2005
Posts: 135
Sounds like a PHP forum may be better for this question.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I would say any algorithm that you deem strong enough for your purposes, and for which you can find implementations for both languages. You can find a list of what Java supports here.
James Laison

Joined: Dec 29, 2005
Posts: 18
thanks for the response. The link helped a lot. I found a whole lot of algorithms. I will look up on php and see the algorithms it supports.

Thanks for the help.
I agree. Here's the link:
subject: Encryption and Decryption
It's not a secret anymore!