Uint8List decryptAES(Uint8List key) { var aesCrypt = AesCryptRaw(key: key, padding: PaddingAES.pkcs7); return aesCrypt.cbc.decrypt(enc: this.sublist(IV_BYTE_LENGTH), iv: this.sublist(0, IV_BYTE_LENGTH)); }