| name | description |
| decrypt | Decrypts a string that is encrypted using a standard encryption technique, including strings encrypted by the Encrypt function. |
| decryptBinary | Decrypts encrypted binary data with the specified key, value, algorithm, salt, and iterations. |
| encrypt | Encrypts a string using a specific algorithm and encoding method. |
| encryptBinary | Encrypts binary data using a specific algorithm and encoding method. |
| generateSecretKey | Gets a secure key value for use in the Encrypt function. |
| getAuthUser | Gets the name of an authenticated user. |
| getUserRoles | Retrieves the list of roles for the current user. This function returns only ColdFusion roles, not roles set for the servlet API. |
| hash | Converts a variable-length string to a fixed-length string that can act as a “fingerprint” or unique identifier for the original string. It is not possible to convert the hash result back to the source string. |
| isUserInAnyRole | Determines whether an authenticated user belongs to any role in a list of roles. |
| isUserInRole | Determines whether an authenticated user belongs to the specified Role. |
| isUserLoggedIn | Determines whether a user is logged in. |
| rand | Generates a pseudo-random number. |
| randomize | Seeds the pseudo-random number generator with an integer number, ensuring repeatable number patterns. |
| randRange | Generates a pseudo-random integer in the range between two specified numbers. |
| verifyClient | Requires remote invocations of the page or calls to functions on the page to include an encrypted security token. |