having some issues for the password: <https://tryc...
# lucee
g
having some issues for the password: https://trycf.com/gist/0333a7c54e11efa4c71fa623c39643c6/acf2023?theme=monokai mysql datatype is blob and 'encrypt' => 'AES' for the php code, so i am trying to generate the same password for both cases, but somhow the eror i am getting is: Wrong IV length: must be 16 bytes long on line 12
g
looks like the binaryEncode() is changing the length
g
checking this https://community.adobe.com/t5/coldfusion-discussions/mysql-aes-encrypt-values-and-coldfusion-encrypt-decrypt/m-p/5663105 it seems to be saying it is doing the same, how can i do in the code i wrote
i reupdated it https://trycf.com/gist/836f455291723f3227985e0a66b65695/lucee5?theme=monokai this time i am getting error on AES because Invalid AES key length: 6 bytes on line 8
g
In this case key cannot exceed 6 characters and also strings don’t match
I am not how pho is allowing for salt only 6 characters
g
I wasnt trying to get it to match... just getting it to work.
g
Ah