Changes

Jump to navigation Jump to search
4 bytes removed ,  15:45, 15 September 2013
|-
| width='120' | '''Signatures'''
|{{Func|crypto:hmac|$message as xs:string, $secret-key as xs:string, $algorithm as xs:string|xs:string}}<br/>{{Func|crypto:hmac|$message as xs:string, $secret-key as xs:string, $algorithm as xs:string, $encoding as xs:string|xs:string}}
|-
| '''Summary'''
|Creates a message authentication code via a cryptographic hash function and a secret {{Code|$key}}. <br/>
{{Code|$encoding}} must either be {{Code|hex}}, {{Code|base64}} or the empty string and specifies the encoding of the returned authentication code. '''Default is {{Code|base64}}'''.<br/>
{{Code|$algorithm}} describes the hash algorithm which is used for encryption. Currently supported are {{Code|md5}}, {{Code|sha1}}, {{Code|sha256}}, {{Code|sha384}}, {{Code|sha512}}. '''Default is {{Code|md5}}'''.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu