Skip to content

OpenSSLHandler: Encrypt/Decrypt #2680

Description

@RedskyThirty

I have some problem sometimes. An encrypted string cannot be decrypted. I get the error :

Decrypting: authentication failed.
system/Encryption/Handlers/OpenSSLHandler.php(160): CodeIgniter\Encryption\Exceptions\EncryptionException::forAuthenticationFailed()

Have you heard other people who met the same problem?

Also, can you verify this:
www/system/Encryption/Handlers/OpenSSLHandler.php - Line 130
"@throws \CodeIgniter\Encryption\EncryptionException" is not correct. It must be "@throws \CodeIgniter\Encryption\Exceptions\EncryptionException" or "@throws EncryptionException". Isn't it?
And line 148: Method "forStarterKeyNeeded" is not defined.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions