2017 © Pedro Peláez
 

library dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

image

tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  • Tuesday, December 12, 2017
  • by tonic
  • Repository
  • 3 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 9 Versions
  • 33 % Grown

The README.md

Derived unique key per transaction

License Packagist Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight, (*1)

In cryptography, Derived Unique Key Per Transaction (DUKPT) is a key management scheme in which for every transaction, a unique key is used which is derived from a fixed key. Therefore, if a derived key is compromised, future and past transaction data are still protected since the next or prior keys cannot be determined easily. DUKPT is specified in ANSI X9.24 part 1., (*2)

Installation using Composer

$ composer require tonicforhealth/dukpt

Usage

<?php

use TonicForHealth\DUKPT\Device\PinEncryptionDevice;
use TonicForHealth\DUKPT\DUKPTFactory;

$cipherText = '160954FE1071D30C5CF260C5AC48EB5FBEFE37B32033E3B7EF693F8C6AB1BBD6276446FB3689728B926D923CD9ECCD522B6DE5850FD9AB2D7976D943C12CDC947E023098CAAE4F6D';

$device = new PinEncryptionDevice(new DUKPTFactory());
$device->load('0123456789ABCDEFFEDCBA9876543210', 'FFFF9876543210E00008');

$plainText = $device->decrypt($cipherText); // %B4124939999999990^TEST/TESTCARD^19129015432139614567891234567890?

Articles

The Versions

12/12 2017

dev-master

9999999-dev https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *
  • lib-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

12/12 2017

v2.0.3

2.0.3.0 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *
  • lib-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

12/12 2017

dev-develop

dev-develop https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *
  • lib-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

20/03 2017

v2.0.2

2.0.2.0 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *
  • lib-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

03/03 2017

v2.0.1

2.0.1.0 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

27/02 2017

v2.0.0

2.0.0.0 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-openssl *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

04/10 2016

1.0.0

1.0.0.0 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-mcrypt *

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

26/04 2016

1.0.0-beta2

1.0.0.0-beta2 https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth

26/04 2016

1.0.0-beta

1.0.0.0-beta https://github.com/tonicforhealth/dukpt

Derived unique key per transaction (ANSI X9.24 part 1)

  Sources   Download

MIT

The Requires

  • php ^5.5|^7.0

 

The Development Requires

by Vitalii Ekert

dukpt tonicforhealth