A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/util
A module for various utility extension functions.

util:md5($arg as item()) xs:string
Generates an MD5 key from a string.
$argThe input string

Returns the MD5 key

Deprecated: Use the hash($a, "MD5") function instead. SHA-1 is supported as more secure message digest algorithm. This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.

util:md5($arg as item(), $base64encoded as xs:boolean) xs:string
Generates an MD5 key from a string. $b specifies whether to return result Base64 encoded
$argThe input string
$base64encodedThe flag to determine if the result is Base64 encoded

Returns the MD5 key

Deprecated: Use the hash($a, "MD5") function instead. SHA-1 is supported as more secure message digest algorithm. This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.
Return to list of all modules