signum-network / signum-xt-wallet

Cryptocurrency wallet for the green Signum 🍀 blockchain as an extension for your browser.
MIT License
14 stars 6 forks source link

Add message encryption to the programming interface #83

Open ohager opened 2 months ago

ohager commented 2 months ago

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