security::hash::salted-sha1 (private)

 security::hash::salted-sha1 password salt

Defined in packages/acs-tcl/tcl/security-procs.tcl

Classical OpenACS password hash algorithm. This algorithm must be always available and is independent of the NaviServer/AOLserver version.

Parameters:
password
salt
Returns:
hex encoded password hash

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
        set salt [string trim $salt]
        return [ns_sha1 ${password}${salt}]
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

[ hide source ] | [ make this the default ]
Show another procedure: