security.Digest.CreateDigest
Defines a new digest context by specifying the algorithm to be used.
Syntax
security.Digest.CreateDigest(
algo STRING )
RETURNS security.Digest
- algo defines the digest algorithm to be used.
Usage
Use this method to create and initialize a digest context to compute data digest based on the specified algorithm.
Available digest algorithms are:
"SHA1"
"SHA224"
"SHA256"
"SHA384"
"SHA512"
"MD5"
In case of error, the method throws an exception and sets the
STATUS
variable. Depending on the error, a human-readable description of the
problem is available in the SQLCA.SQLERRM
register. See Error handling in GWS calls (STATUS).