Warning: openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in PATH_FILE on line LINE_N
openssl_encrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in PATH_FILE on line LINE_N

How to fix the errors

  1. Ensure your SALT only using NUMBER ONLY and Minimum length of SALT is 12.
  2. Ensure your PHP version is 7 or above

That’s how to fix openssl_encrypt() and openssl_decrypt() errors

Fix openssl encrypt decrypt [PHP] - WMI - https://res.cloudinary.com/dimaslanjaka/image/fetch/https://www.webmanajemen.com/assets/img/phpjs.svg?.png