public static DesKey GenerateKey(DesTypes type = DesTypes.DES) => DesKeyGenerator.Generate(type);
public static DesKey GenerateKey(DesTypes type, string pwd, string iv, Encoding encoding) => DesKeyGenerator.Generate(type, pwd, iv, encoding);
public static DesKey GenerateKey(DesTypes type, byte[] pwd, byte[] iv) => DesKeyGenerator.Generate(type, pwd, iv);
public DesFunction() { Key = DesKeyGenerator.Generate(DesTypes.DES); }