in reply to Re^2: OpenSSL and Crypt::CBC don't give the same cipher text ( binmode )
in thread OpenSSL and Crypt::CBC don't give the same ciphertext

Thanks, but that doesn't make any difference. In any case, even if my input was somehow being corrupted (it was plain ASCII text), it was the same input being fed into both OpenSSL and Crypt::CBC.

Also try  binmode $pipe; :)

  • Comment on Re^3: OpenSSL and Crypt::CBC don't give the same cipher text ( binmode )
  • Download Code