Parameters
- password
- Password value to be encoded. Must not be null or empty.
- passwordFormat
- Specifies the format to use for encoding password. Allowed values are: "CLEAR", "MD5", "SHA1", "SHA256", "SHA384", and "SHA512", "AES", "3DES". This value is case-insensitive.
Return Value
When format is "CLEAR", the original value of password is returned. Otherwise returns the encoded password value
formatted as a base64-encoded string.