I'd like to ask if there's a way to encrypt some content (e.g. a string) using Metamask. I explain: let's say I've a DApp, I encript a string using the public_key of a user so that only this user, using his private_key (through metamask), can read the string. Does metamask allow something like this? Thank you
-
I think this question is relevant to yours: ethereum.stackexchange.com/questions/54962/…– Ahmed Ihsan TawfeeqAug 23, 2021 at 10:13
-
Yeah, I saw it, thankyou. I was hoping for some news. It's strange they've not developed yet same kind of "asymmetric cryptography"– MicheleAug 23, 2021 at 16:57
-
Maybe these could help? github.com/pubkey/eth-crypto– Ahmed Ihsan TawfeeqAug 23, 2021 at 17:04
-
This particular example looks like what you're looking for: github.com/pubkey/eth-crypto/blob/master/tutorials/…– Ahmed Ihsan TawfeeqAug 23, 2021 at 17:05
-
I go through it but I think it's what i was looking for, thank you very much.– MicheleAug 23, 2021 at 17:32