<?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 Re: encrypt a column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/encrypt-a-column/m-p/687637#M208770</link>
    <description>&lt;P&gt;Why do you need to decrypt later when you have the original unencrypted version? One method I use hashes the field using the SAS MD5 function:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Account_Key = put(md5(cats('ID',Account_Number)),$hex10.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This type of encryption is one-way though - there is no easy way to decrypt it. By maintaining a list of both the original and encrypted versions there is no need for decryption.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:16:35 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-09-29T19:16:35Z</dc:date>
    <item>
      <title>encrypt a column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypt-a-column/m-p/687628#M208768</link>
      <description>Hello,&lt;BR /&gt;I have a SAS data with character column ID that is 20 character in length. But the values are all numbers. I want to encrypt the column ID with symbols, alphabets and numbers. What will be the best way to encrypt the column and be able to decrypt later?&lt;BR /&gt;Any suggestion or sample code is appreciated.</description>
      <pubDate>Tue, 29 Sep 2020 18:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypt-a-column/m-p/687628#M208768</guid>
      <dc:creator>nickspencer</dc:creator>
      <dc:date>2020-09-29T18:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: encrypt a column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/encrypt-a-column/m-p/687637#M208770</link>
      <description>&lt;P&gt;Why do you need to decrypt later when you have the original unencrypted version? One method I use hashes the field using the SAS MD5 function:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Account_Key = put(md5(cats('ID',Account_Number)),$hex10.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This type of encryption is one-way though - there is no easy way to decrypt it. By maintaining a list of both the original and encrypted versions there is no need for decryption.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/encrypt-a-column/m-p/687637#M208770</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-09-29T19:16:35Z</dc:date>
    </item>
  </channel>
</rss>

