            
           if (currentblock == 0)
           {
-              success = nfc.mifareclassic_AuthenticateBlock (uid, uidLength, currentblock, 1, KeyA_List_D3[0]);
+              success = nfc.mifareclassic_AuthenticateBlock (uid, uidLength, currentblock, 0, KeyA_List_D3[0]);
               
           }
           else
           {
-              success = nfc.mifareclassic_AuthenticateBlock (uid, uidLength, currentblock, 1, KeyA_List_D3[currentblock/4]);
+              success = nfc.mifareclassic_AuthenticateBlock (uid, uidLength, currentblock, 0, KeyA_List_D3[currentblock/4]);
           }
           if (success)
           {

  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 13
  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 14
  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 15
};

byte KeyB_Buffer[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };


byte KeyA_List_D3[][6] =
{
  { 0xFF, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 0
  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 1
  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 2
  { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },  // Sector 3
