decrypt() public method

Decrypts the given cipher with the private key identified by the given fingerprint Note: You should never decrypt a password with this function. Use checkRSAEncryptedPassword() to check passwords!
public decrypt ( string $cipher, string $fingerprint ) : string
$cipher string cipher text to decrypt
$fingerprint string The fingerprint to identify the private key (RSA public key fingerprint)
return string The decrypted text
 /**
  * @test
  * @expectedException \Neos\Flow\Security\Exception\DecryptionNotAllowedException
  */
 public function decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException()
 {
     $this->keyPairUuid = $this->rsaWalletService->generateNewKeypair(true);
     $this->rsaWalletService->decrypt('some cipher', $this->keyPairUuid);
 }