security.HexBinary.Xor

Computes the exclusive disjunction between two hexadecimal encoded strings.

Syntax

security.HexBinary.Xor(
   hexVal1 STRING,
   hexVal2 STRING )
  RETURNS STRING
  1. hexVal1 defines the first string in hexadecimal.
  2. 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).