Lucee Function Reference
argon2checkhash()
Returns hash of input using Argon2.
Introduced: 5.3.8.43
Example
argon2checkhash(string input,string hash,[string variant]):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| input | string | Yes | Input string. | |
| hash | string | Yes | Argon2 hash to compare against input string. | |
| variant | string | No | argon2i | Either Argon2i, Argon2d or Argon2id |