Skip to content

Decrypt the magnetic strips and extract the encrypted tracks into track 1, track 2 and track 3, KSN

License

Notifications You must be signed in to change notification settings

leomayleomay/BPDUKPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BPDUKPT

BPDUKPT is used to decrypt the magnatic strips and extract the encrypted tracks into track 1, track 2, track 3 and KSN

How to Use

Download BPDUKPT, unzip and drag everything inside directory src into your Xcode project and you are all set.

Examples

NSString *magData = @"foobarbaz"; // this is the magnetic strips data captured from the card reader
BPDUKPTIDTechParser *parser = [[BPDUKPTIDTechParser alloc] initWithHID:magData];
BPDUKPTParsingResult *result = [parser parse];

NSLog(@"the encrypted track 1 is: %@", result.track1);
NSLog(@"the encrypted track 2 is: %@", result.track2);
NSLog(@"the encrypted track 3 is: %@", result.track3);
NSLog(@"the KSN is: %@", result.ksn);

License

Use and distribution of licensed under the BSD license. See the LICENSE file for full text.

About

Decrypt the magnetic strips and extract the encrypted tracks into track 1, track 2 and track 3, KSN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published