security.HexBinary.Xor
Computes the exclusive disjunction between two hexadecimal encoded strings.
Syntax
security.HexBinary.Xor(
hexVal1 STRING,
hexVal2 STRING )
RETURNS STRING
- hexVal1 defines the first string in hexadecimal.
- hexVal2 defines the second string in hexadecimal.
Usage
Decodes the two given strings and does an exclusive disjunction between the two binary inputs. The result is returned in hexadecimal.
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).