AES 128 encryption in Java Decryption in PHP

前端 未结 1 1742
太阳男子
太阳男子 2020-12-24 08:26

I have been trying to decrypt a string using AES-128 CBC which was originally crypted using JAVA AES encryption. In java PKCS7 padding is used. And I have tried to encrypt a

相关标签:
1条回答
  • 2020-12-24 08:58

    Your IV is different, a byte with value zero is different from a character '0' which would translate into a byte with value 30 in hexadecimals or 48 in decimals (if you presume ASCII or UTF-8 encoding).

    0 讨论(0)
提交回复
热议问题