AES constructor

AES(
  1. List<int> key, [
  2. bool noDecryption = false
])

Creates an AES cipher keyed with key. Pass noDecryption to skip building the decryption key schedule.

Implementation

AES(List<int> key, [bool noDecryption = false]) {
  _keyLen = key.length;
  setKey(key, noDecryption);
}