Jump to content

openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes


vij007

Recommended Posts

m new to prestashop and without any developers help i created my website with the help of prestashop tutorials. :)

now i have not touched single line of code and dont know why im getting error in log. i dont have any idea bout it. please see error below.

[30-Nov-2017 16:15:34 Asia/Kolkata] PHP Warning:  openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /home1/choosrpk/public_html/classes/Rijndael.php on line 85

Any help would be appreciated.

I hope some one is there to help me out.

 

Thank you :)

Link to comment
Share on other sites

If this solved your problem for now, so please take into consideration to do not upgrade your store. Prestashop has discarded blowfish a while ago. Now standard is rijndael class. I would better instead to use old deprecated cyphering method ask your provider to fix the problem on the server, for that you use rijndael.

On PS 1.7. you for ex. will not have the option to choose the class anymore.

Link to comment
Share on other sites

15 hours ago, selectshop.at said:

If this solved your problem for now, so please take into consideration to do not upgrade your store. Prestashop has discarded blowfish a while ago. Now standard is rijndael class. I would better instead to use old deprecated cyphering method ask your provider to fix the problem on the server, for that you use rijndael.

On PS 1.7. you for ex. will not have the option to choose the class anymore.

ok. thank you :)

Link to comment
Share on other sites

  • 7 months later...
On 12/2/2017 at 8:26 PM, bellini13 said:

if you are able to log into your back office, go to the performance page, scroll down to the Ciphering section, and choose the "use custom blowfish class" and see if that fixes the error.

Hello, I have same problem but there is no Ciphering section in my Performance page:-(

any other place where can I find it? 

My PS is 1.6.1.20

Thank you.

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...