security.Base64.Xor

Computes the exclusive disjunction between two base64 encoded strings.

Syntax

security.Base64.Xor(
   b64str1 STRING,
   b64str2 STRING )
  RETURNING result STRING
  1. b64str1 is a first string encoded in base64.
  2. b64str2 is a second string encoded in base64.
  3. result is the xor result encoded in base64.

Usage

Decodes the two given strings and does an exclusive disjunction between the two binary and returns the result encoded in base64.

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).