DesCipher public class DesCipher : BlockCipher Implements DES cipher algorithm. Documentation Code 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.