Hi,
I am looking for pseudonymizing few records in my data using asymmetric keys.
i.e. encryption: clear text ---key1--->cipher
decryption: cipher --key2--->clear text
Is this possible in SAS?
Thanks in advance!
By "assymetric keys" do you mean a different key to decrypt then encrypt?
And are you looking to do this for only selected fields or the entire data set?
SAS does support data set encryption using the data set option Encrypt=yes and related options for setting passwords and such, or with SAS/Secure licensed you can have AES encryption for the set.
I don't believe these allow "assymetric keys" though.
@DCL wrote:
hi,
Yes, I do want this encrypted using asymmetric keys because the intention is to grant only a specific set of users, who have the special key, to decrypt the data.
And, i would want this to be done only to specific records- not something to be configured at the dataset level.
Beyond my level of expertise to say yeah or nay with certainty. I would suggest contacting SAS tech support.
SAS does have the ability to use externally written algorithms using some procedures such a Proc Proto to register C program functions for use or Proc Groovy for same Java functionality. So it may be possible to use an external package of some sort.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.