PWENCODE Procedure

Example 4: Specifying an Encoding Method for a Password

Features:

METHOD= argument

Details

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

Program

proc pwencode in='my password' method=sas003;
run;

Program Description

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

Log

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

8   proc pwencode in=XXXXXXXXXXXXX method=sas003;
29   run;

{SAS003}08D7B93810D390916F615117D71B2639B4BE

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