xdmp:hash32( $string as xs:string ) as xs:unsignedInt
Returns the 32-bit hash of a string.
xdmp:hash32("/a/b[1]/c") => 152930691