The Digest class / security.Digest methods |
Adds a data from a BYTE variable to the digest buffer.
Adds the binary data contained in the given BYTE to the digest context.
After adding all data pieces, the buffer can be processed by calling security.Digest.DoBase64Digest or security.Digest.DoHexBinaryDigest.
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).