Hi, I'm looking for a way to use a private/pub keys to encrypt/decrypt info. Meaning we send some encrypted data to a users, he sends this data to a smart contrast and there this data is decrypted. Could someone please help me?
If a smart contract can decode it, everybody can decode it. So the data would not be privat at all.
What you are looking for would be signature verifying instead :)
If a smart contract can decode it, everybody can decode it. So the data would not be privat at all. What you are looking for would be signature verifying instead :)