The HexBinary class / security.HexBinary methods |
Computes the exclusive disjunction between two hexadecimal encoded strings.
security.HexBinary.Xor( hexstr1 STRING, hexstr2 STRING ) RETURNING result STRING
Decodes the two given string and does an exclusive disjunction between the two binary and returns the result 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).