Пример #1
0
 public static DesKey GenerateKey(DesTypes type = DesTypes.DES) => DesKeyGenerator.Generate(type);
Пример #2
0
 public static DesKey GenerateKey(DesTypes type, string pwd, string iv, Encoding encoding) => DesKeyGenerator.Generate(type, pwd, iv, encoding);
Пример #3
0
 public static DesKey GenerateKey(DesTypes type, byte[] pwd, byte[] iv) => DesKeyGenerator.Generate(type, pwd, iv);
Пример #4
0
 public DesFunction()
 {
     Key = DesKeyGenerator.Generate(DesTypes.DES);
 }