graph-studio
Hash Functions
This topic describes the hash functions in Graph Studio.
Typographical Conventions
This documentation uses the following conventions in function syntax:
CAPS: Although SPARQL is case-insensitive, function names and other keywords are written in uppercase for readability.[ argument ]: Brackets are used to indicate optional arguments. Arguments without brackets are required.
Functions
- MD5: Returns the MD5 checksum of a string as a hexadecimal string.
- SHA1: Calculates the SHA-1 digest of a string value.
- SHA224: Calculates the SHA-224 digest of a string value.
- SHA256: Calculates the SHA-256 digest of a string value.
- SHA384: Calculates the SHA-384 digest of a string value.
- SHA512: Calculates the SHA-512 digest of a string value.
MD5
This function returns the MD5 checksum of a string as a hexadecimal string.
Syntax
MD5(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to return the MD5 checksum. |
Returns
| Type | Description |
|---|---|
| string | The hexadecimal string. |
SHA1
This function calculates the SHA-1 digest of a string.
Syntax
SHA1(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to calculate the SHA-1 digest. |
Returns
| Type | Description |
|---|---|
| string | The SHA-1 digest. |
SHA224
This function calculates the SHA-224 digest of a string.
Syntax
SHA224(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to calculate the SHA-224 digest. |
Returns
| Type | Description |
|---|---|
| string | The SHA-224 digest. |
SHA256
This function calculates the SHA-256 digest of a string.
Syntax
SHA256(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to calculate the SHA-256 digest. |
Returns
| Type | Description |
|---|---|
| string | The SHA-256 digest. |
SHA384
This function calculates the SHA-384 digest of a string.
Syntax
SHA384(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to calculate the SHA-384 digest. |
Returns
| Type | Description |
|---|---|
| string | The SHA-384 digest. |
SHA512
This function calculates the SHA-512 digest of a string.
Syntax
SHA512(text)
| Argument | Type | Description |
|---|---|---|
| text | string | The string for which to calculate the SHA-512 digest. |
Returns
| Type | Description |
|---|---|
| string | The SHA-512 digest. |
Source: https://docs.sw.siemens.com/documentation/external/PL20260212925461721/en-US/graph_studio/functions-hash.htm · retrieved 2026-08-23