3 * The Rijndael-128 based high strength mixer class
5 * This class implements a mixer based upon the recommendations in RFC 4086
10 * @see http://tools.ietf.org/html/rfc4086#section-5.2
11 * @category PHPCryptLib
14 * @author Anthony Ferrara <ircmaxell@ircmaxell.com>
15 * @copyright 2011 The Authors
16 * @license http://www.opensource.org/licenses/mit-license.html MIT License
17 * @version Build @@version@@
20 namespace CryptLib\Random\Mixer
;
22 use \CryptLib\Cipher\Factory
as CipherFactory
;
23 use \CryptLib\Core\Strength
;
26 * The Rijndael-128 based high strength mixer class
28 * This class implements a mixer based upon the recommendations in RFC 4086
31 * @see http://tools.ietf.org/html/rfc4086#section-5.2
32 * @category PHPCryptLib
35 * @author Anthony Ferrara <ircmaxell@ircmaxell.com>
37 class Rijndael
extends DES
{
40 * An instance of a Rijndael symmetric encryption cipher
42 * @var Cipher The Rijndael cipher instance
44 protected $cipher = 'rijndael-128';
47 * Return an instance of Strength indicating the strength of the source
49 * @return Strength An instance of one of the strength classes
51 public static function getStrength() {
52 return new Strength(Strength
::HIGH
);