|
September 07, 2017, 09:10:26 PM |
|
Hi all , assuming this figure:
------------------------------------------------. Alice ' ' .----------------------------- [Decrypted] <--- Bob <---------------------------[Decrypted] | ' ^ v ' | (=?) (Key) ' / | | ' / | v ' ---------------------- / [Random] -->[ecrypt] --> [CypherText] ---> Bob ----> |Contract/Script on |------> spend to Alice ' | Blockchain | ' ---------------------- -----------------------------------------------' (Cannot contain Key !!)
(Bob can only get the decrypted text that Alice gave him unless he pay a contract that give Alice funds, WITHOUT involving Alice to be AWARE of the existance of a BLOCKCHAIN)
Is there any way to use BTC or ETH or ZEC scripting/contracts , so i can decrypt data in a contract without showing the encryption key publicly ? I know that son Zero-Knowledge-Proof and Homomorphic encryption can be used in some how that i'm trying to make the model for that . Any suggestions ?
|