phpseclib\Crypt\Rijndael::__construct PHP 메소드

__construct() 공개 메소드

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);
    }