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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 133
Sounds like a PHP forum may be better for this question.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39537
    
  27
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 - updated with new look and Ping home screen widget
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encryption and Decryption
 
Similar Threads
Dependable Javascript Encryption With Java Counterpart
FTP Client Server (Urgent)
Encryption/decryption using core java and then insert into database
AES decryption in Java
each time encryption gives different result......??