Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes

I was trying to convert private key of an account to its public key but getting an error

Well, obviously it doesn't like your private key format. I'm unsure what style private keys the function accepts. A typical private key is, for example, ...
Lauri Peltonen's user avatar
2 votes

Is it possible to brute force the missing part of my Ethereum private key?

18 hex characters is 72 bits, which gives 4722366482869645213696 possible combinations. A powerful bitcoin miner that you could buy is capable of calculating a hashrate of 100 TH/s or 1000000000000 ...
ceseshi's user avatar
  • 740
2 votes
Accepted

Can I use a BLS12-381 private key to sign Ethereum transactions?

Can I use a BLS12-381 private key to sign Ethereum transactions Short answer: yes. Why is this possible? Because the space in which the private keys live for BLS signatures on BLS12-381 is smaller ...
Stent's user avatar
  • 36
2 votes

How to generate a valid Private Key using CLI?

I like to use cast to quickly interact with networks on the Terminal. I think you can refer to the cast docs on how to create a new private key pair. For your specific case, I think cast wallet new ...
quantumdust's user avatar
1 vote
Accepted

Sign a transaction without loading full private key

Yes, you are referring to MPC. specifically Ethereum uses ECDSA, so you want an ECDSA MPC. here is ZenGo's repo used by ZenGo Wallet: https://github.com/ZenGo-X/multi-party-ecdsa MPC stands for Multi-...
high_byte's user avatar
  • 313
1 vote

How signature verification works?

This is not signing, it is hashing of a message, the hash is then used. "Signed" in function name means addition of "\x19Ethereum Signed Message:\n32" here. I think these methods ...
crystalbit's user avatar
1 vote
Accepted

Generate r, s, v permit signature variables off chain using Golang

Solved it myself in the end, my main confusion was in the difference between abi.encode & abi.encodePacked (not sure go-ethereum doesn't have a version of these funcs like other ethereum packages ...
PopFendi's user avatar
1 vote

How do you get the x and y coordinates of an uncompressed public key?

Sorry, I'm very new to cryptography. I wasn't removing the 0x04 prefix when trying to get the coordinates. For anyone interested this is how you can do it in nodejs: const pubKeyString = '...
xmrNoob69's user avatar
1 vote

Is it possible to brute force the missing part of my Ethereum private key?

Yes, but not in a reasonable amount of time. You are not brute-forcing anything technically, and you don't need to check the blockchain, but you need to compute a public key from the private one and ...
Giuseppe Bertone's user avatar
1 vote

Is it possible to brute force the missing part of my Ethereum private key?

Well, each character could be one of 16 valid hex numbers (0-9/a-f), if you're missing 18 characters, you potentially have 16^18 combinations to try, that's about 5 quintillions. assuming you can test ...
Foxxxey's user avatar
  • 4,327
1 vote

Did anyone succeed to implement EdDSA verification using solidity?

This is an implementation of EDDSA signature verification with sha512 digest (based on this RFC). https://github.com/rdubois-crypto/FreshCryptoLib/blob/master/solidity/src/FCL_eddsa.sol
Nikolay Zakirov's user avatar
1 vote

Which cryptographic hash function does Ethereum use?

Useful info: since late November 2023 (openssl 3.2 release date), openssl supports keccak256 natively. Linux bash (word testing): $ echo -n "testing" | openssl dgst -keccak-256 KECCAK-256(...
Greossu's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible