- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::ns_hmac
::ns_hmac create ... \
[ -ctx ctx ] \
[ -digest (default "sha256") ] \
[ -key:required key:required ]
Defined in
Class Relations
Methods (to be applied on the object)
file (scripted, public)
ns_hmac file [ -digest digest ] [ -encoding encoding ] key filename \ args [ args... ]
- Switches:
- -digest (optional, defaults to
"sha256"
)- -encoding (optional, defaults to
"hex"
)- Parameters:
- key (required)
- filename (required)
- args (required)
- Testcases:
- No testcase defined.
string (scripted, public)
ns_hmac string [ -digest digest ] [ -encoding encoding ] key message
- Switches:
- -digest (optional, defaults to
"sha256"
)- -encoding (optional, defaults to
"hex"
)- Parameters:
- key (required)
- message (required)
- Testcases:
- No testcase defined.
Methods (to be applied on instances)
add (scripted, public)
<instance of ns_hmac> add message
- Parameters:
- message (required)
- Testcases:
- No testcase defined.
destroy (scripted, public)
<instance of ns_hmac> destroy
- Testcases:
- No testcase defined.
get (scripted, public)
<instance of ns_hmac> get [ -encoding encoding ]
- Switches:
- -encoding (optional, defaults to
"hex"
)- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables