![Fix openssl encrypt decrypt [PHP] Fix openssl encrypt decrypt [PHP]](https://res.cloudinary.com/dimaslanjaka/image/fetch/https://dimaslanjaka.github.io/assets/img/phpjs.svg?.png)
Fix openssl encrypt decrypt [PHP]
2019-07-31 / Dimas Lanjaka Kumala Indra
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
- Ensure your SALT only using NUMBER ONLY and Minimum length of SALT is 12.
- Ensure your PHP version is 7 or above
That's how to fix openssl_encrypt() and openssl_decrypt() errors
![Fix openssl encrypt decrypt [PHP] Fix openssl encrypt decrypt [PHP]](https://res.cloudinary.com/dimaslanjaka/image/fetch/https://dimaslanjaka.github.io/assets/img/phpjs.svg?.png)
Fix openssl encrypt decrypt [PHP]
PermaLink: https://www.webmanajemen.com/2019/07/fix-openssl-encrypt-decrypt-php.html
Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight