phpseclib\Crypt\Rijndael::__construct PHP Method

__construct() public method

Default Constructor.
public __construct ( integer $mode )
$mode integer
    function __construct($mode)
    {
        if ($mode == self::MODE_STREAM) {
            throw new \InvalidArgumentException('Block ciphers cannot be ran in stream mode');
        }
        parent::__construct($mode);
    }