Create new funcionality to encrypt and decrypt a text with private key
See original GitHub issuePlease create a new functionality to encrypt and decrypt an arbitrary text with EOS private key and other EOS public key.
Methods signatures (example):
object EncryptText(string text, key publicKey)
Encrypts the text with the current Scatter Wallet EOS private key and the passed publicKey and returns the encrypted text.
object DecryptText(string encryptedText, key publicKey)
Decrypts the encryptedText with the current Scatter Wallet EOS private key and the passed publicKey and returns the decrypted text.
Please check this example with EOS js API and local keys, should be simple, like include this code inside scatter js lib: https://github.com/b-mail/Documentation/blob/master/javascript-encrypt.md
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Generating Keys for Encryption and Decryption - Microsoft Learn
Understand how to create and manage symmetric and asymmetric keys for encryption and decryption in .NET.
Read more >How to Encrypt and Decrypt Strings in Python? - GeeksforGeeks
In Asymmetric-key Encryption, we use two keys a public key and a private key. The public key is used to encrypt the data...
Read more >encrypt() and decrypt() functions - IBM
The encrypt() and decrypt() functions encrypt or decrypt a varchar or nvarchar value by using a supplied key. Encryption is the process of...
Read more >Encrypting and decrypting data with an asymmetric key
This topic provides information about creating and using a key for asymmetric encryption using an RSA key. If you want to use asymmetric...
Read more >RSA Encryption & Decryption Example with OpenSSL in C
For encryption and decryption we need to prepare RSA structure. Use the below function to create RSA with key buffer. RSA * createRSA(unsigned ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am also interested in this issue. I think if Scatter could offer AES encrypt / decrypt methods, it would be great for EOS dapps. We could easily have end-to-end encryption that offers privacy and zero-knowledge for off-blockchain data that is kept in private servers.
You know what. Let me take another look at this once some other more important things ( dawn4, migrations, etc ) are done. I’m reopening this.