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