EncryptNodePswd function
Syntax
EncryptNodePswd(Password)
Description
Use the EncryptNodePswd function to encrypt an Integration Broker node password.
Note:
This function is generally used with Integration Broker node password encryption. This function should not be used casually, as once you encrypt your node password, there is no decrypt PeopleCode method.
Parameters
| Parameter | Description |
|---|---|
|
Password |
Specify the Integration Broker node password that you want encrypted, as a string. |
Returns
An encrypted password as a string.
Example
In the following example, the password is stored in the database in an encrypted form instead of as plain text:
PSMSGNODEDEFN.IBPASSWORD = EncryptNodePswd(RTrim(LTrim(PSNODE_WRK.WRKPASSWORD)));
Related Topics