<PackageReference Include="SSH.NET" Version="2020.0.1" />

Renci.SshNet.Security.Cryptography.Ciphers.DesCipher

public class DesCipher : BlockCipher
Implements DES cipher algorithm.
public DesCipher(byte[] key, CipherMode mode, CipherPadding padding)

Initializes a new instance of the DesCipher class.

protected static void DesFunc(int[] wKey, byte[] input, int inOff, byte[] outBytes, int outOff)

Performs DES function.

protected int[] GenerateWorkingKey(bool encrypting, byte[] key)

Generates the working key.

protected virtual void ValidateKey()

Validates the key.