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