public AesFunction()
 {
     Key = AesKeyGenerator.Generate(AesTypes.Aes256);
 }
Exemple #2
0
 public static AesKey GenerateKey(AesTypes type = AesTypes.Aes256) => AesKeyGenerator.Generate(type);
Exemple #3
0
 public static AesKey GenerateKey(AesTypes type, string pwd, string iv, Encoding encoding) => AesKeyGenerator.Generate(type, pwd, iv, encoding);
Exemple #4
0
 public static AesKey GenerateKey(AesTypes type, byte[] pwd, byte[] iv) => AesKeyGenerator.Generate(type, pwd, iv);