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