PWENCODE Procedure

Example 1: Encoding a Password

Features:

IN= argument

Details

This example shows a simple case of encoding a password and writing the encoded password to the SAS log.

Program

proc pwencode in='my password';
run;

Program Description

Encode the password.
proc pwencode in='my password';
run;

Log

Note that each character of the password is replaced by an X in the SAS log.

19   proc pwencode in=XXXXXXXXXXXXX;
20   run;


{SAS002}DBCC571245AD0B31433834F80BD2B99E16B3C969

NOTE: PROCEDURE PWENCODE used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds