ENCRYPT: Encrypting a Password

How to:

The ENCRYPT function encrypts an alphanumeric input value using the encryption algorithm configured in the TIBCO WebFOCUS® Reporting Server. The result is returned as variable length alphanumeric.

Syntax: How to Encrypt a Password

ENCRYPT(password)

where:

password

Fixed length alphanumeric

Is the value to be encrypted.

Example: Encrypting a Password

The following request encrypts the value guestpassword using the encryption algorithm configured in the WebFOCUS Reporting Server.

-SET &P1 = ENCRYPT('guestpassword');
-TYPE &P1

The returned encrypted value is {AES}963AFA754E1763ABE697E8C5E764115E.