PROC PWENCODE uses encoding to disguise passwords.
With encoding, one character set is translated to another character
set through some form of table lookup. Encryption, by contrast, involves
the transformation of data from one form to another through the use
of mathematical operations and, usually, a “key” value.
Encryption is generally more difficult to break than encoding.
PROC PWENCODE is intended
to prevent casual, non-malicious viewing of passwords. You should
not depend on PROC PWENCODE for all your data security needs; a determined
and knowledgeable attacker can decode the encoded passwords. Data
should be protected by other security controls such as file system
permissions or other access control mechanisms.