Skip to main content

Questions tagged [encryption]

Questions related to the encryption in Ethereum

0 votes
3 answers
76 views

I want to emit an event in Solidity that includes a bytes32 field. My frontend will listen for this event, but since events are publicly accessible on-chain, I want to ensure that only my frontend can ...
Omar Osman's user avatar
2 votes
2 answers
79 views

Simple voting use-case, with the following characteristics: An "election admin" publishes a public key; Voters can use the public key to encrypt their vote (off-chain) and post the ...
Drew's user avatar
  • 21
0 votes
0 answers
47 views

import { useState, useEffect } from "react"; const Security = () => { const [recipientAddress, setRecipientAddress] = useState(""); const [message, setMessage] = useState(&...
Karan Kumawat's user avatar
0 votes
0 answers
40 views

My only knowledge of metamask has been deprecating the eth_decrypt rpc. Then came erc-5630 to be a solution about encryption/decryption and the problem is metamask still doesn't seem to implement it. ...
user150178's user avatar
2 votes
1 answer
91 views

Questions: In Solidity, how can we fetch the encrypted public key for the wallet directly from the smart contract using solidity? I have managed to retrieve it using JavaScript, but I need to know ...
No One's user avatar
  • 21
1 vote
0 answers
20 views

Noob alert! Since hardware wallets don't support decryptWithPrivateKey function, I would like to make a workaround using signatures If it's possible to create the challenge, that would produce a pre-...
Anton Makiievskyi's user avatar
0 votes
1 answer
84 views

Is there any way I can encrypt my MetaMask wallet address and save this encrypted address in a Solidity smart contract? For example, encrypt the address off-chain and store it in the smart contract. ...
dustinioxyz's user avatar
1 vote
0 answers
55 views

I would like to know, what are the best practices to solve the following problem: Imagine there's an Alice with browser and Ethereum account (connected with Metamask / Wallet connect / etc). She needs ...
Sergey Potekhin's user avatar
1 vote
1 answer
331 views

Let's say I use a wallet's private key to encode/digitally sign it's own public address, meaning that upon using its public address to decrypt that encoded/signed data, the result would be the public ...
user2340939's user avatar
5 votes
2 answers
848 views

The project I'm trying to make has this flow: User inputs some data It gets encrypted using their private key It gets stored to a place which is accessible to anyone but only the person in possession ...
AweSamarth's user avatar
1 vote
1 answer
71 views

In this demo Alice is using Bob's public key to sign a message that only the Bob can decrypt. Is it safe for Bob to reveal this decrypted message, or would that allow an attacker to determine his ...
Origin's user avatar
  • 143
0 votes
1 answer
629 views

I want to get Publickey of metamask by Public address
laravel Developer's user avatar
0 votes
2 answers
90 views

I want to encrypt document before uploading to IPFS and enable more than user to decrypt it and note that the number of users may increase or decrease in any time?
laravel Developer's user avatar
1 vote
0 answers
474 views

I used below code from account 1 on metamask to encrypt certain text let encryptionPublicKey; await window.ethereum.request({ method: 'eth_getEncryptionPublicKey', params: [account1], // you must ...
laravel Developer's user avatar
0 votes
1 answer
530 views

So I have a web3js script(bot), something along these lines: let walletAddress = "" let pvtKey = "" signed = await web3.eth.accounts.signTransaction(txObject, pvtKey); What is ...
Jonh Snow's user avatar

15 30 50 per page
1
2 3 4 5
11