for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the DUKPT package.
*
* Copyright (c) 2016-2017 Tonic Health <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TonicForHealth\DUKPT\Key;
/**
* Class BaseDerivationKeyFactory
* @author Vitalii Ekert <[email protected]>
class BaseDerivationKeyFactory implements KeyFactoryInterface
{
* {@inheritdoc}
* @return BaseDerivationKey
public function createFromHexadecimal($hexKey)
return new BaseDerivationKey(hex2bin($hexKey));
}