Skip to content

Length must be greater than 0 at error #63

@aniskasmi

Description

@aniskasmi

Hi,

I work on Symfony 5.3

My Config

ambta_doctrine_encrypt: secret_key: AB1CD2EF3GH4IJ5KL6MN7OP8QR9ST0UW # Your own random 256 bit key (32 characters) encrypted_suffix: <ENC> # or any other string that you wish that won't cause issues with your DB encryptor: AES-256 # AES-256 or AES-192 encryptor_class: \Ambta\DoctrineEncryptBundle\Encryptors\AES256Encryptor # your own encryption class

Error

[2021-11-25T20:46:24.972605+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Length must be greater than 0" at /Users/aniskasmi/Documents/Workspace/Agri-Recrute/vendor/ambta/doctrine-encrypt-bundle/Ambta/DoctrineEncryptBundle/Encryptors/AES256Encryptor.php line 44 {"exception":"[object] (Error(code: 0): Length must be greater than 0 at /Users/aniskasmi/Documents/Workspace/Agri-Recrute/vendor/ambta/doctrine-encrypt-bundle/Ambta/DoctrineEncryptBundle/Encryptors/AES256Encryptor.php:44)"} []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions