Skip to content

openssl_encrypt (IV) error #20

@jramhani

Description

@jramhani

openssl_encrypt (IV) error

I got this error when trying this code $encrypted = Encryption::php()->encrypt($value); :

openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended
vendor / maize-tech / laravel-encryptable / src / PHPEncrypter.php : 82

I found the potential reason here :
https://stackoverflow.com/questions/11821195/use-of-initialization-vector-in-openssl-encrypt

Am i doing something wrong ? or is it a real issue ?

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