textual
[RRG-proxmark3.git] / client / src / mifare / mifaredefault.c
blob8c9a26071202fcfd444195156f0370853de5cbe6
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2017 Merlok
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Mifare default constants
9 //-----------------------------------------------------------------------------
11 #include "mifaredefault.h"
12 #include "commonutil.h" // ARRAYLEN
14 const char *g_mifare_plus_default_keys[] = {
15 "ffffffffffffffffffffffffffffffff", // default key
16 "00000000000000000000000000000000",
17 "a0a1a2a3a4a5a6a7a0a1a2a3a4a5a6a7", // MAD key
18 "b0b1b2b3b4b5b6b7b0b1b2b3b4b5b6b7",
19 "d3f7d3f7d3f7d3f7d3f7d3f7d3f7d3f7", // NDEF key
20 "11111111111111111111111111111111",
21 "22222222222222222222222222222222",
22 "33333333333333333333333333333333",
23 "44444444444444444444444444444444",
24 "55555555555555555555555555555555",
25 "66666666666666666666666666666666",
26 "77777777777777777777777777777777",
27 "88888888888888888888888888888888",
28 "99999999999999999999999999999999",
29 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
30 "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
31 "cccccccccccccccccccccccccccccccc",
32 "dddddddddddddddddddddddddddddddd",
33 "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
34 "000102030405060708090a0b0c0d0e0f",
35 "0102030405060708090a0b0c0d0e0f10",
36 "00010203040506070809101112131415",
37 "01020304050607080910111213141516",
38 "404142434445464748494a4b4c4d4e4f",
39 "303132333435363738393a3b3c3d3e3f",
41 size_t g_mifare_plus_default_keys_len = ARRAYLEN(g_mifare_plus_default_keys);