<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />
Hex
Class to decode and encode Hex.
public static byte[]
Decode(
byte[]
data)
public static byte[]
Decode(
string data)
public static byte[]
DecodeStrict(
string str,
int off,
int len)
public static byte[]
Encode(
byte[]
data)
public static byte[]
Encode(
byte[]
data,
int off,
int length)
public static int Encode(
byte[]
data,
int off,
int length,
Stream outStream)
public static string ToHexString(
byte[]
data,
bool upperCase)
public static string ToHexString(
byte[]
data,
int off,
int length)
public static string ToHexString(
byte[]
data,
int off,
int length,
bool upperCase)