AesTest::testVector PHP Метод

testVector() публичный Метод

public testVector ( )
    public function testVector()
    {
        $input = 'hello world';
        $pass = 'password';
        $vector = \base64_decode('eZu2DqB2gYhdA2YkjagLNJJVMVo1BbpJ75tW/PO2bGIY98XHD+Gp+YlO5cv/rHzo45LHMCxL2qOircdST1w5hg==');
        $this->assertEquals($input, Aes::decrypt($vector, $pass));
    }