ns_crypto::JWT method hmac_sign (protected)

 <instance of ns_crypto::JWT[i]> hmac_sign [ -alg alg ] \
    [ -secret secret ] [ -data data ]

Defined in

Switches:
-alg (optional)
-secret (optional)
-data (optional)

Testcases:
No testcase defined.
Source code:
set digest [:alg_to_hmac_digest $alg]

return [ns_crypto::hmac string  -digest $digest  -encoding binary  -- $secret $data]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: