[Crypto Q&A] Can secrets or passwords be stored on the Ethereum network?

Discussion • 2021/02/15 • oleh
ugospecial

Can secrets or passwords be stored on the Ethereum network?

Komentar (20)
Tamu
bellagita_
6 tahun yang lalu
All data on Ethereum is public. It is not possible to store secrets or passwords in Ethereum contracts without it being seen by all. There is work being done to make this a possibility through code obfuscation and other techniques. A good read would be “Privacy on the Blockchain” by Vitalik Buterin.
exshu12
6 tahun yang lalu
ok
atikarani14
6 tahun yang lalu
It is not possible to store secrets or passwords in Ethereum contracts without it being seen by all
tugiman
6 tahun yang lalu
yes
jalansultan
6 tahun yang lalu
A good read would be “Privacy on the Blockchain” by Vitalik Buterin.
nurhotimah
6 tahun yang lalu
Blockchain
tugiman
6 tahun yang lalu
what
mahmud12
6 tahun yang lalu
block chain is for bitcoin network
visiblemoney
6 tahun yang lalu
There is no complete way of doing this. One approach you could look at is: You could commit to the secret in advance (by having the contract hold a hash of the secret). When you know the recipient you could send them the secret encrypted with their public key, which they can then decrypt and check matches the earlier committed hash. Nothing forces you to do this, but at least you can't change your mind on what the secret was after the fact. NB - nothing forces you to actually reveal the secret though.
mahmud12
6 tahun yang lalu
apreciate this
tugiman
6 tahun yang lalu
nope
tugiman
6 tahun yang lalu
can't
yettimerry
6 tahun yang lalu
no part of the Ethereum protocol involves encryption; that is to say all communications with the Ethereum platform and between nodes (including transaction data) are unencrypted and can (necessarily) be read by anyone. This is so everyone can verify the correctness of state updates and consensus can be reached. In the future, advanced cryptographic tools, such as zero knowledge proofs and homomorphic encryption, will be available that will allow for some encrypted calculations to be recorded on the blockchain while still enabling consensus; however, while provision has been made for them, they have yet to be deployed. Therefore, no secrets or passwords can be stored on the Ethereum network.
guxcman
6 tahun yang lalu
well
akbar111
6 tahun yang lalu
no

Buletin kami

Berita pasar cryptocurrency terbaru, teknologi, dan sumber daya bantuan.