This [[Module Library|XQuery Module]] provides functions that perform different hash operations.
=Functions=
* {{Code|xs:hexBinary(hash:md5("", "MD5"))}} returns {{Code|D41D8CD98F00B204E9800998ECF8427E}}.
* {{Code|hash:md5("", "")}} raises an error.
|}
=Errors=
{| width='100%' class="wikitable" width="100%"
! width="5%"|Code
! width="95%"|Description
|-
|{{Code|HASH0001}}
|The specified hash algorithm is unknown.
|}