decrypt card data from scanner in PHP (DUKPT TDEA (5 days)
This project received 1 bids from talented freelancers with an average bid price of $120 USD.Get free quotes for a project like this
No auto bids or messages please. Only developers that have already done this in the past will be accepted. Please read all to understand the need.
We are using the magtek card reader to scan credit cards. This device will send us encrypted data. We need that data decrypted in php. The winner of this project should already have the code because they have done this before.
1. Example data
2. Description of card data encryption.
ANSI Key: = 0123456789ABCDEFFEDCBA9876543210 KCV: 08D7B4
Component 1: = 458331918089D9F10E08A19823B52C89 KCD: A19399
Component 2: = 44A074F60922141EF0D41B0055E11E99 KCD: B00F21
You should be able to enter the Component 1 and Component 2 values into the HSM, and then generate the ANSI Key.
The resultant ANSI Key should have a KCV value of 08D7B4.
If you obtain this KCV, then you have correctly generated the ANSI key from components.
When a card is swiped through the Reader, the track data and MagnePrint information will be TDEA (Triple Data Encryption Algorithm, aka, Triple DES) encrypted using DUKPT (Derived Unique Key Per Transaction) key management. This method of key management uses a base derivation key to encrypt a key serial number that produces an initial encryption key which is injected into the Reader prior to deployment. After each transaction, the encryption key is modified per the DUKPT algorithm so that each transaction uses a unique key. Thus, the data will be encrypted with a different encryption key for each transaction.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online