In reply to Jim Barbour.

Hi Jim,

Great question! SAS does have a way to accomplish this, in SAS Federation Server. This is what we refer to when we talk about "data masking":

https://www.sas.com/content/dam/SAS/en_us/doc/factsheet/sas-federation-server-105943.pdf

Here's a nice SAS blogs post that goes into a little more detail: http://blogs.sas.com/content/sgf/2017/03/08/securing-sensitive-data-using-sas-federation-server-data-masking/

Also, on our SAS communities page, there is a great thread about this topic that might give you some ideas:

https://communities.sas.com/t5/Base-SAS-Programming/Data-masking-Implement-a-cipher/td-p/20644

Hope that helps!

Wendy