Xhash

This library provides functions to perform generation of hashes.

StatusName
Text md5 ( Text ↓value )

Computes the MD5 hash of the specified value;

number murmurhash3_32_gc ( string ↓value )

Computes the MurmurHash3 (r136) of the specified text, returning the result as a number (32 bit hash).

string murmurhash3_32_gc ( string ↓value )

Computes the MurmurHash3 (r136) of the specified text, returning the result as a string (hex representation of the hash value).

Text sha1 ( Text ↓value )

Computes the SHA1 hash of the specified value;


Library Functions

↑hash = Lib.md5 ( ↓value )

Computes the MD5 hash of the specified value;

Parameters:
  • Text ↓value - - text to compute hash for
Returns: Text ↑hash - - text representation (hex string) of the resulting hash (lowercase).
hash = Lib.murmurhash3_32_gc ( ↓value )

Computes the MurmurHash3 (r136) of the specified text, returning the result as a number (32 bit hash).

Parameters:
  • string ↓value - text to compute hash for (ASCII only)
Returns: number hash - the resulting hash
hash = Lib.murmurhash3_32_gc ( ↓value )

Computes the MurmurHash3 (r136) of the specified text, returning the result as a string (hex representation of the hash value).

Parameters:
  • string ↓value - text to compute hash for (ASCII only)
Returns: string hash - text representation of the resulting hash
↑hash = Lib.sha1 ( ↓value )

Computes the SHA1 hash of the specified value;

Parameters:
  • Text ↓value - - text to compute hash for
Returns: Text ↑hash - - text representation (hex string) of the resulting hash (lowercase).