NativeCompatibleEncryption constructor

NativeCompatibleEncryption({
  1. Uint8List? fixedSessionKey,
})

Optionally pass a fixed session key for deterministic testing

Implementation

NativeCompatibleEncryption({Uint8List? fixedSessionKey}) {
  sessionKey = fixedSessionKey ?? _generateSessionKey(_sessionKeySize);
}