RSA encryption in Java, decryption in PHP?

Depending on the version the following may help.

Depending on the version the following may help: frostjedi.com/phpbb/viewtopic.php?p=1184....

I have the most up to date version that includes the fix discussed in the link. After doing some further testing, I have determined that this may be a problem with the different character sets used by java and php. Java uses UTF-8 by default and PHP uses ISO-8859-1 by default.

I am not sure how to convert between the two without losing any of the data. I also cannot figure out how to make php base 64 decode utf-8 strings. – UmangB Jul 6 at 2:40 What if you didn't generate the password as a String in Java but rather as a ByteArray or something?

– butnever Jul 6 at 22:07 actually, after doing a bunch of tests and debugging to find a solution, I found out that the encryption is correct but the information send between the android app and php has to be url encoded after it has been base 64 encoded or else the data gets messed up. – UmangB Jul 8 at 2:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions