You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The encryption_package AESEncrypt function returns a varchar value, while AESDecrypt takes a varchar value to decrypt.
Is there any reason why varchar is used instead of varbinary ? It feels like the latter would make more sense, and would respect the MySQL functions signature.
To keep backward compatibility, instead of simply altering methods signature, one could rely on Vertica function overloading support
However, this would only work for the decrypt function, since overloading cannot be done on the return type.
The text was updated successfully, but these errors were encountered:
nicolasriousset
added a commit
to nicolasriousset/Vertica-Extension-Packages
that referenced
this issue
Feb 15, 2018
The encryption_package AESEncrypt function returns a varchar value, while AESDecrypt takes a varchar value to decrypt.
Is there any reason why varchar is used instead of varbinary ? It feels like the latter would make more sense, and would respect the MySQL functions signature.
To keep backward compatibility, instead of simply altering methods signature, one could rely on Vertica function overloading support
However, this would only work for the decrypt function, since overloading cannot be done on the return type.
The text was updated successfully, but these errors were encountered: