in reply to Re: Encrypt in Perl and decrypt in JAVA
in thread Encrypt in Perl and decrypt in JAVA

We tried with Crypt::CBC. In that I used the  -cipher => 'blowfish' and got some hexa decimal code and passed that value in URL.

But, that value is not going to be decrypted at the java application. They are just using some blowfish decryption algorithm.

Replies are listed 'Best First'.
Re^3: Encrypt in Perl and decrypt in JAVA
by moritz (Cardinal) on Jan 05, 2011 at 14:23 UTC
    They are just using some blowfish decryption algorithm.

    Obviously you have to use the same algorithms and keys both in perl and java. That includes the same cypher block mode, the same key and data padding if the are of "wrong" size, and same content-encoding, if any.

    If there's an existing java system which decrypts stuff, you first have to learn exactly what the java side does.

Re^3: Encrypt in Perl and decrypt in JAVA
by Anonymous Monk on Jan 05, 2011 at 09:59 UTC
    They are just using some blowfish decryption algorithm.

    Here is an idea, you can use some blowfish encryption algorithm?