Lucee Function Reference
Function ARGON2CHECKHASH
Returns hash of input using Argon2.
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 | Degrees of parallelism, a number between 1 and 10. | |
variant | string | No | argon2i | Either Argon2i, Argon2d or Argon2id |