10 'testLargeLayeredTop' => [
11 'class' => LayeredParameterizedPassword::class,
13 'testLargeLayeredBottom',
14 'testLargeLayeredBottom',
15 'testLargeLayeredBottom',
16 'testLargeLayeredBottom',
17 'testLargeLayeredFinal',
20 'testLargeLayeredBottom' => [
21 'class' => Pbkdf2Password::class,
26 'testLargeLayeredFinal' => [
27 'class' => BcryptPassword::class,
34 return [
'testLargeLayeredFinal' ];
42 ':testLargeLayeredTop:sha512:1024:512!sha512:1024:512!sha512:1024:512!sha512:1024:512!5!vnRy+2SrSA0fHt3dwhTP5g==!AVnwfZsAQjn+gULv7FSGjA==!xvHUX3WcpkeSn1lvjWcvBg==!It+OC/N9tu+d3ByHhuB0BQ==!Tb.gqUOiD.aWktVwHM.Q/O!7CcyMfXUPky5ptyATJsR2nq3vUqtnBC',
54 $partialPassword = $this->passwordFactory->newFromType(
'testLargeLayeredBottom' );
55 $partialPassword->crypt(
'testPassword123' );
58 $totalPassword = $this->passwordFactory->newFromType(
'testLargeLayeredTop' );
59 $totalPassword->partialCrypt( $partialPassword );
61 $this->assertTrue( $totalPassword->equals(
'testPassword123' ) );
LayeredParameterizedPassword Password.
testLargeLayeredPartialUpdate()
LayeredParameterizedPassword::partialCrypt.
getTypeConfigs()
Return an array of configs to be used for this class's password type.
static providePasswordTests()
An array of tests in the form of (bool, string, string), where the first element is whether the secon...