For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hash

Creates an algorithmic hash of an object and returns it in the CFML compat upper case format

Method Signature

Hash(input=[any], algorithm=[string], encoding=[string], numIterations=[integer])

Arguments

Argument
Type
Required
Description
Default

input

any

true

The item to be hashed

algorithm

string

false

The supported {@link java.security.MessageDigest} algorithm (case-insensitive) or "quick" for an insecure 64-bit hash

MD5

encoding

string

false

Applicable to strings ( default "utf-8" )

utf-8

numIterations

integer

false

1

Examples

Last updated

Was this helpful?