The Digest class / security.Digest methods |
Creates a digest of the buffered data and returns the result in base64 format.
security.Digest.DoBase64Digest() RETURNING b64Digest STRING
Processes the digest on all data previously added to the context and encodes it in base64.
After that call, the internal buffer is cleaned and ready to be populated again with new data to be digested.
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).