security::hash::scrypt-16384-1-8 (private)
security::hash::scrypt-16384-1-8 password salt
Defined in packages/acs-tcl/tcl/security-procs.tcl
Compute a "password hash" using the scrypt password based key derivation function (RFC 7914)- Flipped argument version for bug compatibility.
- Parameters:
- password (required)
- salt (required)
- Returns:
- hex encoded password hash (128 bytes)
- Testcases:
- No testcase defined.
Source code: return [::ns_crypto::scrypt -secret $password -salt $salt -n 16384 -r 1 -p 8]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