chovy-3012 commented on issue #13377: URL: https://github.com/apache/seatunnel/issues/13377#issuecomment-7150289138
One follow-up question on the envelope, to settle the family's direction before the implementation PR: With SM4 on BINARY, the crypto family would carry two envelope styles — `AES_ENCRYPT`/`AES_DECRYPT` return Base64 STRING, SM4 would return raw BINARY. Outside SeaTunnel, both MySQL and Hive `aes_encrypt` return raw binary, so today's Base64 STRING envelope is the ecosystem exception. Would a follow-up proposal to move `AES_ENCRYPT`/`AES_DECRYPT` to the same BINARY contract be welcome? It is a user-facing change to a merged function (jobs that store the Base64 text today), so it would come with an incompatible-changes note, migration guidance, and the same cross-engine parity work; alternatively AES keeps its current envelope and the divergence between the two cipher families is documented. Either way the SM4 contract above stands — this is only about AES's long-term direction. Which do you prefer? -- 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]
