Table of Contents

Class Bytes

Namespace
Org.BouncyCastle.Utilities
Assembly
BouncyCastle.Cryptography.dll
public static class Bytes
Inheritance
Bytes
Inherited Members

Fields

NumBits

public const int NumBits = 8

Field Value

int

NumBytes

public const int NumBytes = 1

Field Value

int

Methods

Xor(int, byte[], byte[], byte[])

public static void Xor(int len, byte[] x, byte[] y, byte[] z)

Parameters

len int
x byte[]
y byte[]
z byte[]

Xor(int, byte[], int, byte[], int, byte[], int)

public static void Xor(int len, byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff)

Parameters

len int
x byte[]
xOff int
y byte[]
yOff int
z byte[]
zOff int

Xor(int, ReadOnlySpan<byte>, ReadOnlySpan<byte>, Span<byte>)

public static void Xor(int len, ReadOnlySpan<byte> x, ReadOnlySpan<byte> y, Span<byte> z)

Parameters

len int
x ReadOnlySpan<byte>
y ReadOnlySpan<byte>
z Span<byte>

XorTo(int, byte[], byte[])

public static void XorTo(int len, byte[] x, byte[] z)

Parameters

len int
x byte[]
z byte[]

XorTo(int, byte[], int, byte[], int)

public static void XorTo(int len, byte[] x, int xOff, byte[] z, int zOff)

Parameters

len int
x byte[]
xOff int
z byte[]
zOff int

XorTo(int, ReadOnlySpan<byte>, Span<byte>)

public static void XorTo(int len, ReadOnlySpan<byte> x, Span<byte> z)

Parameters

len int
x ReadOnlySpan<byte>
z Span<byte>