-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CO: update the encrypt and decrypt functions to support all PHP versions
- Loading branch information
hibatallah.aouadni
committed
Aug 18, 2017
1 parent
ebf3643
commit 80ecf62
Showing
1 changed file
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80ecf62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I print_r($ciphertext), I see bunch of � characters. I googled that maybe it's because of UTF-8. My sites language is Lithuanian, with special characters.
Anyone could help with this?
The error thrown is: IV passed is 7 bytes long....
I figured it out:
Something was wrong with cookie.php Class, I gets wrong IV Constant. I've replaced the cookie PHP Class With the one from the new installation And it works.
Hope that will help for someone
$yourshop/modules/classes/Cookie.php