sarutak commented on pull request #34837: URL: https://github.com/apache/spark/pull/34837#issuecomment-989508129
There are no standard encryption/decryption functions in the popular RDBMS. Actually, I brought these function from Hive, and Hive seems to have brought them from MySQL. `aes_encrypt` and `aes_decrypt` in MySQL takes the 3rd optional parameter, which is IV. https://dev.mysql.com/doc/refman/8.0/en/encryption-functions.html#function_aes-decrypt So, how about taking IV as the 3rd parameter, and taking `mode` and `padding` as 4th and 5th for the compatibility? cc: @HyukjinKwon @cloud-fan -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
