You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be a rtrim() with a second parameter "\0". In rare cases the first or last character of the encrypted value could be a space or return, the decryption goes wrong
The problem is the usage of trim() in https://github.com/vmelnik-ukraine/DoctrineEncryptBundle/blob/master/Encryptors/AES256Encryptor.php#L32.
http://stackoverflow.com/questions/3422759/php-aes-encrypt-decrypt#comment13920165_3422787
The text was updated successfully, but these errors were encountered: