Questions tagged [encryption]

Questions related to the encryption in Ethereum

154 questions
11
votes
3 answers

Are communications encrypted?

I'd like to know whether the messages delivered to the ethereum network by my wallet are encrypted such that any identifying information about the wallet is inaccessible to the ISP? in other words, can ownership of the wallet be traced to me via…
ekkis
  • 207
  • 1
  • 6
9
votes
1 answer

What's a recommended way to pass secret in Solidity?

Hi I'm an Ethereum noob just trying something out. I have a quick question for the community here about passing secrets in Solidity. Since, we can only control who can change state variables in Solidity, the values inside variables can be seen by…
Pii
  • 580
  • 1
  • 5
  • 11
5
votes
0 answers

Homomorphic encryption with Ethereum compatible chains

Are there any blockchains or even Ethereum mainnet contracts that would offer homomorphic encryption primitives and example code? A sample use case would be homomorphic secret sharing that is needed for a secret ballot voting.
Mikko Ohtamaa
  • 22,269
  • 6
  • 62
  • 127
5
votes
4 answers

Cryptography in a smart contract

is there a way using public key cryptography (asymmetric cryptography) in a smart contract. The idea is to: 1) Encrypt some text and publish it on the block chain as a transaction. function encryptData(string pubKey, string text){ ... } 2) And…
jim
  • 151
  • 1
  • 3
3
votes
1 answer

If two keystore files have the same password, can it be figured out?

If two different keystore files have the same password, can it be figured out? Suppose I publish to the internet two keystore files corresponding to two different addresses. The files have the same password. Given some amount of transactions on each…
Fernando Tiberti
  • 2,299
  • 1
  • 15
  • 28
0
votes
1 answer

storing encrypted data on ethereum and using encrypt decrypt offchain

All data stored on public blockchains like ethereum is available for public viewing. All there any libraries, frameworks or solutions, for storing encrypted data inside smart contract data structures. If the data is encrypted using say shared/AES…
0
votes
2 answers

Is there a bruteforce uses random private keys to find spesific public key as a lottery?

I actually know how private key and public key works. But I don't know how to brute force private key. In calculation it is impposible. But with luck anything is possible. What I mean is this: If we know how many digits a private key has in general,…