for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* The RandomLib library for securely generating random numbers and strings in PHP
*
* @author Anthony Ferrara <[email protected]>
* @copyright 2011 The Authors
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version Build @@version@@
*/
/**
* mcrypt mixer using the Rijndael cipher with 128 bit block size
* PHP version 5.3
* @category PHPCryptLib
* @package Random
* @subpackage Mixer
* @copyright 2013 The Authors
namespace RandomLib\Mixer;
use RandomLib\AbstractMcryptMixer;
use SecurityLib\Strength;
* @author Chris Smith <[email protected]>
class McryptRijndael128 extends AbstractMcryptMixer
{
* {@inheritdoc}
public static function getStrength()
return new Strength(Strength::HIGH);
}
protected function getCipher()
return 'rijndael-128';