Neos\Flow\Tests\Unit\Security\Cryptography\AlgorithmsTest::pbkdf2TestVectors PHP Méthode

pbkdf2TestVectors() public méthode

Based on certified test vectors from http://tools.ietf.org/html/rfc6070
public pbkdf2TestVectors ( ) : array
Résultat array
    public function pbkdf2TestVectors()
    {
        $output = [];
        $output[] = ['password', 'salt', 1, 20, '0c60c80f961f0e71f3a9b524af6012062fe037a6'];
        $output[] = ['password', 'salt', 2, 20, 'ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'];
        $output[] = ['password', 'salt', 4096, 20, '4b007901b765489abead49d926f721d065a429c1'];
        $output[] = ['passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 25, '3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038'];
        $output[] = ['pass' . pack('H', '00') . 'word', 'sa' . pack('H', '00') . 'lt', 4096, 16, '56fa6aa75548099dcc37d7f03425e0c3'];
        return $output;
    }