The Encryption class / xml.Encryption methods |
Encrypts the string str using the symmetric key key, and returns the encrypted string encoded in BASE64.
xml.Encryption.EncryptString( key xml.CryptoKey, str STRING ) RETURNING rstr STRING
The key must be of usage: encryption.
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).