Is your feature request related to a problem? Please describe.
As of today, the XT API provides only signing transactions and/or sending encrypted messages. Due to a new demand for a use case it is necessary to provide a function which allows encryption of any data/messages.
Describe the solution you'd like
Add an extension message that takes plain text and or hex/binary data, and the recipients public key as payload and send to the extension for encryption.
The encrypted message should be returned then together with the used public key of sender and recipient. No interactive dialog is needed then.
Is your feature request related to a problem? Please describe. As of today, the XT API provides only signing transactions and/or sending encrypted messages. Due to a new demand for a use case it is necessary to provide a function which allows encryption of any data/messages.
Describe the solution you'd like Add an extension message that takes plain text and or hex/binary data, and the recipients public key as payload and send to the extension for encryption. The encrypted message should be returned then together with the used public key of sender and recipient. No interactive dialog is needed then.
Potential errors:
Describe alternatives you've considered N/A
Additional context N/A