yii-dukpt DUKPT Implementation in Yii

  1. DUKPT Implementation in Yii
  2. Requirements
  3. Usage
  4. Resources

DUKPT Implementation in Yii ¶

This is an extension to to get the keys used for decryption which use the DUKPT methodology.

P.S. I have not created these, just modified few files to make it work with Yii.

Requirements ¶

Yii 1.1.x
PHPSecLib (Included in the zip) Sourceforge
dukpt-php (Included in the zip) its a fork of Github

Usage ¶

  1. Extract and copy the files in the protected/vendors/ folder.
  2. Add the following lines in the main.php configuration file
'import'=>array(
		'application.models.*',
		'application.components.*',
		**'application.vendors.phpseclib.Crypt.*',**
		**'application.vendors.DUKPT.*',**
	),
  1. To decrypt Track2 data use the function DUKPT_Utility::getDecryptTrack()
    a. Pass the encrypted data, KSN and BDK
    b. Returns decrypted Track

  2. To decrypt PIN Block use the function DUKPT_Utility::getDecryptPIN()
    a. Pass the encrypted data, KSN and BDK
    b. Return PIN Block in ISO-0 format

Resources ¶

Sourceforge
Github
Codemagus
Stackoverflow

2 0
3 followers
305 downloads
Yii Version: Unknown
License: BSD-2-Clause
Category: Security
Tags: dukpt
Created on: Jan 17, 2014
Last updated: 12 years ago

Downloads

show all