Long text encryption
|Priority:||Should have||Due date:|
It should be possible to encrypt / decrypt a long plain text using the TYPO3\FLOW3\Security\Cryptography\RsaWalletServicePhp. This way 2 FLOW3 applications can talk with each other in encrypted way and the key trust is already established using the security:import*key commands.
Currently the "encryptWithPublicKey($plaintext, $uuid)" method is only capable of encrypting a short text (only few characters depending on the length of the key) which is perfectly fine as it uses the openssl_public_encrypt.
Please provide another method or whatever best thing which is possible to encrypt/decrypt long text. It should be done probably with the openssl_seal and openssl_open PHP methods. This type of code is already written in the TYPO3.Surf package TYPO3\Surf\Encryption\OpenSslEncryptionService