<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />

Org.BouncyCastle.Crypto.Parameters.DesParameters

public class DesParameters : KeyParameter
namespace Org.BouncyCastle.Crypto.Parameters { public class DesParameters : KeyParameter { public const int DesKeyLength = 8; public DesParameters(byte[] key); public DesParameters(byte[] key, int keyOff, int keyLen); public static bool IsWeakKey(byte[] key, int offset); public static bool IsWeakKey(byte[] key); public static byte SetOddParity(byte b); public static void SetOddParity(byte[] bytes); public static void SetOddParity(byte[] bytes, int off, int len); } }