<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic the function base64 has issue with function aes_encrypt and secret in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/the-function-base64-has-issue-with-function-aes-encrypt-and/m-p/43669#M27532</link>
    <description>&lt;P&gt;for the below query:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;select base64(
    aes_encrypt(
       '00', 
       to_binary(secret('secret-scope', 'data-protection-secret'), 'BASE64')       
    )
)&lt;/LI-CODE&gt;&lt;P&gt;when the value to encrypt is 2 characters, the return is always "REDACTED_POSSIBLE_SECRET_ACCESS_KEY", it works for other length of string to encrypt.&lt;BR /&gt;It start from last Friday, will create a ticket to databricks.&lt;BR /&gt;any body have any work around solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 15:18:51 GMT</pubDate>
    <dc:creator>guostong</dc:creator>
    <dc:date>2023-09-05T15:18:51Z</dc:date>
    <item>
      <title>the function base64 has issue with function aes_encrypt and secret</title>
      <link>https://community.databricks.com/t5/data-engineering/the-function-base64-has-issue-with-function-aes-encrypt-and/m-p/43669#M27532</link>
      <description>&lt;P&gt;for the below query:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;select base64(
    aes_encrypt(
       '00', 
       to_binary(secret('secret-scope', 'data-protection-secret'), 'BASE64')       
    )
)&lt;/LI-CODE&gt;&lt;P&gt;when the value to encrypt is 2 characters, the return is always "REDACTED_POSSIBLE_SECRET_ACCESS_KEY", it works for other length of string to encrypt.&lt;BR /&gt;It start from last Friday, will create a ticket to databricks.&lt;BR /&gt;any body have any work around solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 15:18:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/the-function-base64-has-issue-with-function-aes-encrypt-and/m-p/43669#M27532</guid>
      <dc:creator>guostong</dc:creator>
      <dc:date>2023-09-05T15:18:51Z</dc:date>
    </item>
  </channel>
</rss>

