get_hash
Synopsis
@get_hash(String) -> String
Description
Retrieves the hash value of the object.
info
Available in Contextal Platform 1.0 and later.
Parameters
The function accepts one of the following hash names:
"md5"
"sha1"
"sha256"
"sha512"
Return value
The value of the requested hash as String
.
Examples
@get_hash("sha256") == "52f653495509e8866d76d2b41846b99ee798c437042436b6bcd1d82fa46141bb"
- This matches objects with the specified
sha256
value.