Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encryption and Decryption

 
James Laison
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a PHP forum may be better for this question.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic