security::hash::argon2-12288-3-1 (private)
security::hash::argon2-12288-3-1 password salt
Defined in packages/acs-tcl/tcl/security-procs.tcl
Compute a "password hash" using the Argon2 hash algorithm key derivation function (RFC 9106). Parameterization recommendation from OWASP: m=12288 (12 MiB), t=3, p=1
- Parameters:
- password (required)
- salt (required)
- Returns:
- hex encoded password hash (128 bytes)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [::ns_crypto::argon2 -variant argon2id -password $password -salt $salt -memcost 12288 -iter 3 -lanes 1 -threads 1 -outlen 64]Generic XQL file: packages/acs-tcl/tcl/security-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/security-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/security-procs-oracle.xql