Skip to content

.NET standard library for MIFARE password(MF_Password) generation from MIFARE keys A and B.

License

Notifications You must be signed in to change notification settings

Archie-Yang/MFPassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MFPassword

.NET standard library for MIFARE password(MF_Password) generation from MIFARE keys A and B.

MIFARE password is generated from MIFARE keys A and B, it can be used to access MIFARE memory in Java Card applet(since Java Card 2.2.2 if card supported).

Projects

  • src/MFPassword
    • Library for MIFARE password generation
  • tests/MFPassword.Consoles
    • Console tests
  • tests/MFPassword.Tests
    • Unit tests

How to Use

See code below or MFPassword.Consoles project.

using MFPassword;

// ......

var keyA = new byte[] { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
var keyB = new byte[] { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
var mfPwd = MifarePassword.Generate(keyA, keyB);

About

.NET standard library for MIFARE password(MF_Password) generation from MIFARE keys A and B.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages