I thinking of developing some kind of application in which I need to have some kind of public key cryptography
done by the smart contract
. The sender
sends some data to the smart contract
encrypyted by sendersmart contract
's privatepublic key
, will the smart contract
be able to decrypt it, using the sendersmart publiccontract
s private key
? While the smart contract
decrypts the data, will everyone be able to see the plain text since its replicated on all the nodes ?
Since the smart contract
is replicated on all the nodes across the network, will every one be able to see all the contents of the smart contract
?