Any equivalent for mcrypt (in PHP) for use in Java?

Can anyone talk about any library that can be used in java, which gives the same result if the operation was performed in PHP using the mcrypt library.

I want to actually encrypt a string in Java using AES and decrypt it in PHP. Will Java Cipher produce encryption decrypted by mcrypt in PHP?

edit:

Resin-3.1 library found on the Internet. Could it be?

+5
source share
1 answer

Encryption algorithms are independent of the programming language.

Till:

, ( ).

, Java Cipher , , , String.getBytes(), .

+10

All Articles