AesCrypt constructor

AesCrypt([
  1. String password = ''
])

Creates the library wrapper.

Optionally sets encryption/decryption password as password.

Implementation

AesCrypt([String password = '']) {
  _password = password;
  _passBytes = password.toUtf16Bytes(Endian.little);
  _owMode = AesCryptOwMode.warn;
  setUserData();
}