Open cgewecke opened 7 years ago
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?
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.
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?