Questions tagged [encryption]

Questions related to the encryption in Ethereum

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
631 views

How to use mnemonic to recovery my ethereum wallet

I use web3j to create my ethereum wallet.the Code just like down import org.web3j.crypto.Bip39Wallet; import org.web3j.crypto.Credentials; import org.web3j.crypto.ECKeyPair; import org.web3j.crypto....
3
votes
0answers
500 views

“Invalid DER format public key” error trying to use bitcore-ecies for encryption with Ethereum keys

I started this blog for generation of the keys. Which I'm able to follow successfully. My generated Private, public key and the address is mentioned in the testIdentity variable in the code below. ...
3
votes
0answers
2k views

How to brute force decrypt wallet password ?

I have forgot my wallet password, but have an idea what it could be. I need to put a script together to try a long list of possible password. What is the command to use for that, if I am to put it ...
2
votes
2answers
126 views

Offchain encryption in Ethereum dapp

Im wrting a dapp which holds / manages sensitive data which might need to be encrypted and decrypted and push again into chain. I know it is not safe to encrypt data in smart contract,which is why Im ...
2
votes
0answers
380 views

OpenSSL error message when decrypting Ethereum encrypted private key

I'm trying to help a friend recover his password for an older format ethereum encrypted private key (EPK). My friend thinks he knows the password. My plan has been to use his best guess at the ...
1
vote
0answers
233 views

Homomorphic Secret Sharing

Speaking of Ethereum blockchain, Is it possible to perform homomorphic secret sharing algorithmic calculations like SSS/pVSS/VSS on-chain? or should this be calculations performed off-chain
1
vote
0answers
145 views

Encrypted accounts backup and restore from 12 word seed

In my wallet I used ethereumjs-accounts library to generate and manage accounts. It allows to export and import accounts by json string or zip file. My goal is to add to export/import functionality 12-...
0
votes
1answer
14 views

Data encryption

Since all data on the Blockchain is public. Presume I have multiple users submitting data which I want to hide, is there a way I can encrypt that data on the Blockchain ? Or do I have to encrypt off-...
0
votes
1answer
26 views

How to store and encrypt Keys?

I am developing chrome extension like metamask for the private Chain. I have generated the keys and using localStorage to store the Keys. But I am not sure whether I am going correct or not for ...
0
votes
2answers
127 views

Blockchain Smart Contract EHR

I'm trying to do a miny EHR(Electronical Health Record) with Smart Contracts where I have a Pacient Contract. The problem is that in solidity everything is public, even the private variables, so I ...
0
votes
0answers
137 views

Encryption with Ethereum Keys for all Clients (iOS,Android,Web)

I was trying to encrypt data with Ethereum Key pairs. So far, I have managed to encrypt and decrypt data with these keys using ECIES schema on eth-crypto. Eth-crypto is a package which is built on top ...
0
votes
0answers
116 views

Smart Contract - Storing 113+ byte buffer in solidity

So I am using the module (eth-ecies) in npm to perform encryption of a message offchain using the public key of my reciever, and in turn I get a 113+ byte buffer after the encryption is done. Now i ...
0
votes
0answers
167 views

Can you use a smart contract to generate a symmetric key?

Let's say that I want to generate a key such that a user can use it and at the same time save the hashed key on the blockchain. My idea was to use a smart contract that could implement the Diffie-...