Neos\Flow\Tests\Unit\Security\Cryptography\AlgorithmsTest::pbkdf2TestVectorsAreCorrect PHP Method

pbkdf2TestVectorsAreCorrect() public method

public pbkdf2TestVectorsAreCorrect ( $password, $salt, $iterationCount, $derivedKeyLength, $output )
    public function pbkdf2TestVectorsAreCorrect($password, $salt, $iterationCount, $derivedKeyLength, $output)
    {
        $result = Algorithms::pbkdf2($password, $salt, $iterationCount, $derivedKeyLength, 'sha1');
        $this->assertEquals(unpack('H*', pack('H*', $output)), unpack('H*', $result));
    }