Hash functions

  • Latest Dynatrace
  • Reference

Hash related functions.

hashCrc32

Returns a CRC32 hash for a given string expression.

Syntax

hashCrc32(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashCrc32(s)

Query result:

hashMd5

Computes the MD5 hash for a given string expression.

Syntax

hashMd5(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashMd5(s)

Query result:

hashSha1

Computes the SHA-1 hash for a given string expression.

Syntax

hashSha1(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashSha1(s)

Query result:

hashSha256

Returns a SHA-256 hash for the given expression.

Syntax

hashSha256(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashSha256(s)

Query result:

hashSha512

Returns a SHA-512 hash for the given expression.

Syntax

hashSha512(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashSha512(s)

Query result:

hashXxHash32

Returns a xxHash32 hash for a given string expression.

Syntax

hashXxHash32(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashXxHash32(s)

Query result:

hashXxHash64

Returns a xxHash64 hash for a given string expression.

Syntax

hashXxHash64(expression)

Parameters

Returns

The data type of the returned value is string.

Examples

Example 1
data record(s = "DQL is awesome!")
| fieldsAdd hashXxHash64(s)

Query result:

Related tags
Dynatrace Platform