Neos\Flow\Tests\Unit\Security\Cryptography\RsaWalletServicePhpTest::checkRSAEncryptedPasswordReturnsTrueForACorrectPassword PHP Method

checkRSAEncryptedPasswordReturnsTrueForACorrectPassword() public method

    public function checkRSAEncryptedPasswordReturnsTrueForACorrectPassword()
    {
        $encryptedPassword = $this->rsaWalletService->encryptWithPublicKey('password', $this->keyPairUuid);
        $passwordHash = 'af1e8a52451786a6b3bf78838e03a0a2';
        $salt = 'a709157e66e0197cafa0c2ba99f6e252';
        $this->assertTrue($this->rsaWalletService->checkRSAEncryptedPassword($encryptedPassword, $passwordHash, $salt, $this->keyPairUuid));
    }