/** * @test */ public function checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword() { $encryptedPassword = $this->rsaWalletService->encryptWithPublicKey('wrong password', $this->keyPairUuid); $passwordHash = 'af1e8a52451786a6b3bf78838e03a0a2'; $salt = 'a709157e66e0197cafa0c2ba99f6e252'; $this->assertFalse($this->rsaWalletService->checkRSAEncryptedPassword($encryptedPassword, $passwordHash, $salt, $this->keyPairUuid)); }