ns_crypto::JWT method hmac_sign (protected)
<instance of ns_crypto::JWT> hmac_sign [ -alg alg ] \ [ -secret secret ] [ -data data ]
- 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
![[i]](/resources/acs-subsite/ZoomIn16.gif)