Changes

Jump to navigation Jump to search
182 bytes added ,  14:18, 20 July 2022
no edit summary
==hash:md5==
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|hash:md5|$value as xs:anyAtomicType|xs:base64Binary}}<br />
|-valign="top"
| '''Summary'''
|Computes the MD5 hash of the given {{Code|$value}}, which may be of type {{Code|xs:string}}, {{Code|xs:base64Binary}}, or {{Code|xs:hexBinary}}.
|-valign="top"
| '''Examples'''
|
==hash:sha1==
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|hash:sha1|$value as xs:anyAtomicType|xs:base64Binary}}<br />
|-valign="top"
| '''Summary'''
|Computes the SHA-1 hash of the given {{Code|$value}}, which may be of type {{Code|xs:string}}, {{Code|xs:base64Binary}}, or {{Code|xs:hexBinary}}.
|-valign="top"
| '''Examples'''
|
==hash:sha256==
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|hash:sha256|$value as xs:anyAtomicType|xs:base64Binary}}<br />
|-valign="top"
| '''Summary'''
|Computes the SHA-256 hash of the given {{Code|$value}}, which may be of type {{Code|xs:string}}, {{Code|xs:base64Binary}}, or {{Code|xs:hexBinary}}.
|-valign="top"
| '''Examples'''
|
==hash:hash==
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|hash:hash|$value as xs:anyAtomicType, $algorithm as xs:string|xs:base64Binary}}<br />
|-valign="top"
| '''Summary'''
|Computes the hash of the given {{Code|$value}}, using the specified {{Code|$algorithm}}. The specified values may be of type {{Code|xs:string}}, {{Code|xs:base64Binary}}, or {{Code|xs:hexBinary}}.<br />The following three algorithms are supported: {{Code|MD5}}, {{Code|SHA-1}}, and {{Code|SHA-256}}.
|-valign="top"
| '''Errors'''
|{{Error|algorithm|#Errors}} the specified hashing algorithm is unknown.
|-valign="top"
| '''Examples'''
|
! width="110"|Code
|Description
|-valign="top"
|{{Code|algorithm}}
|The specified hash algorithm is unknown.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu