XORes an two byte arrays of equal length.

Namespace: CardWerk.SmartCard.Util
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Shared Function XORN( _ 
ByVal inData As Byte(), _ 
ByVal xorData As Byte() _ 
) As Byte()
This language is not supported or no code example is available.
public static byte[] XORN( 
byte[] inData
byte[] xorData 
)
This language is not supported or no code example is available.
public:  
static array< Byte >^ XORN( 
array< Byte >^ inData
array< Byte >^ xorData 
)
This language is not supported or no code example is available.
public static function XORN( 
inData : byte[], 
xorData : byte[] 
) : byte[];
This language is not supported or no code example is available.

Parameters

inData
Type: byte[]

Information describing the in.

xorData
Type: byte[]

Information describing the exclusive or.

Return Value

Type: byte[]

Byte array with XOR result. Empty byte array on error.

Exception type Condition

ArgumentException

Thrown when one or more arguments have unsupported or illegal values.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0