laravel-encryptable
                                
                                 laravel-encryptable copied to clipboard
                                
                                    laravel-encryptable copied to clipboard
                            
                            
                            
                        openssl_encrypt (IV) error
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 ?