authenticateSectorWithKeyA method

Future<bool> authenticateSectorWithKeyA({
  1. required int sectorIndex,
  2. required Uint8List key,
})

Authenticates a sector with key A. Returns false when the key is wrong.

The authentication holds for the rest of the session, so the reads and writes that follow do not need to repeat it.

Implementation

Future<bool> authenticateSectorWithKeyA({required int sectorIndex, required Uint8List key}) =>
    androidApi.mifareClassicAuthenticateSector(_handle, sectorIndex, key, true);