Neos\Flow\Security\Cryptography\RsaWalletServiceInterface::encryptWithPublicKey PHP Method

encryptWithPublicKey() public method

Encrypts the given plaintext with the public key identified by the given fingerprint
public encryptWithPublicKey ( string $plaintext, string $fingerprint ) : string
$plaintext string The plaintext to encrypt
$fingerprint string The fingerprint to identify to correct public key
return string The ciphertext
    public function encryptWithPublicKey($plaintext, $fingerprint);