aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Encryption and Decryption" Watch "Encryption and Decryption" New topic
Author

Encryption and Decryption

James Laison
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
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.


Ping & DNS - my free Android networking tools app
James Laison
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Encryption and Decryption