security::hash::scrypt-16384-8-1 (private)
security::hash::scrypt-16384-8-1 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)
- Parameters:
- password (required)
- salt (required)
- Returns:
- hex encoded password hash (128 bytes)
- Testcases:
- No testcase defined.
Source code: lassign [split [ns_info patchlevel] .] major minor patchlevel if {$major < 5 && $patchlevel < 31} { ns_log notice "warning: this version of NaviServer returns results for flipped arguments." "When upgrading to newer versions, scrypt-16384-1-8 will return compatible results" } return [::ns_crypto::scrypt -secret $password -salt $salt -n 16384 -r 8 -p 1]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