MifareClassicTool icon indicating copy to clipboard operation
MifareClassicTool copied to clipboard

Add a key file generator tool for know algorithems

Open ikarus23 opened this issue 4 years ago • 3 comments

There are several known key generation/derivation algorithms out the to calculate the keys for a MIFARE Classic tag. Some of them can be found here: https://github.com/RfidResearchGroup/proxmark3/blob/master/common/generator.c. It would be great to have tool in which the user can input parameters (e.g. the toy/algo, the UID, etc.) and it generates a key file with the correct keys.

ikarus23 avatar Oct 31 '20 17:10 ikarus23

Hi sir, what do you need for this project? Thank you for all your really Great job.

The0ne94 avatar Nov 10 '20 21:11 The0ne94

I can do the UI stuff my self, but if you want you can port some of the known generators to java. I'm thinking like one function per product/generator. So something like:

String[] generateVingLock(String uid) {
    ...
    return keys;
}

String[] generateYaleDoorman(String uid) {
    ...
    return keys;
}

...

Be aware that there are helper functions in Common.java like hex2Bytes() or bytes2Hex().

ikarus23 avatar Nov 14 '20 21:11 ikarus23