Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Possibility of whale-island decrypting publications? #64

Open
cgewecke opened this issue Nov 10, 2016 · 2 comments
Open

Possibility of whale-island decrypting publications? #64

cgewecke opened this issue Nov 10, 2016 · 2 comments
Labels

Comments

@cgewecke
Copy link
Contributor

It might be nice to write instructions to a contract using the nodes' public keys and have them decrypted when published at the node. This isn't super cool from a smart-contract perspective since the encryption has to be done by a third party that wants to hide info from contract participants before they arrive somewhere, but it would really help with spoofing for some apps.

The one thing that would be better than is an algo to RSA encrypt randomly generated values in Solidity - in other words to handle everything w contract logic. In principle this is possible?

@cgewecke
Copy link
Contributor Author

Per alex beregszaszi's RSA verify post - this is not meaningfully possible until there is generic bigint capability.

Other super basic questions: are there actually some visibility issues here? e.g. the intermediate state of an internal function is visible?

Also: The random value generation thread

@cgewecke
Copy link
Contributor Author

cgewecke commented Sep 18, 2017

eth-random. This is believed to be safe for low value contracts. Gameable by miners (or something).

See zeppelin slack (mid sept) for extensive discussion of this btw zoultu and package author.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant