serpro / Android-PHP-Encrypt-Decrypt

Encrypt / Decrypt Between Android and PHP and vice-versa
155 stars 74 forks source link

java.lang.Exception: [encrypt] expected IV length of 16 but was 32 #29

Open AndroidDeveloperMCT opened 3 years ago

AndroidDeveloperMCT commented 3 years ago

java.lang.Exception: [encrypt] expected IV length of 16 but was 32

Facing this issue private String iv = "aeb3df8a92ac4b080ab9b5dd6e16e394";//Dummy iv (CHANGE IT!) private String SecretKey = "493e61e6dd5b9ba080b4ca29a8fd3bea";//Dummy secretKey (CHANGE IT!)