Questions tagged [elliptic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Alphabets in x , y coordinates of Elliptic graph

I was reading about the ethereum address generation process. I am very confused that when Private key generated is processed under "Elliptic Curve Digital Signature Algorithm" , we get a ...
Brijesh Roy's user avatar
2 votes
3 answers
326 views

Pre-compiled contract - ecmul

I am experimenting the ecmul opcode (inside the EccMul function) where I can multiply the given generator with the given number. pragma solidity ^0.8.0; contract TestEccMul { struct G1Point { ...
Emrah's user avatar
  • 1,564
1 vote
1 answer
594 views

Recover public key from signature and address only works with MetaMask provider

I have to implement a login system with a web3modal using WalletConnect & MetaMask. After many attempts, it seems that all the existing source codes about this on the internet only work with ...
Gniax's user avatar
  • 21
0 votes
1 answer
258 views

Recover address from signature works only with MetaMask

I try to implement Web3 login to my page. It works with MetaMask, but with other wallets (like LRC, Coinbase or Argent) it doesn't - recovered address differs from the original one. Ethereum\EcRecover ...
lama's user avatar
  • 1
0 votes
1 answer
390 views

Why my private key is generating different public address?

I'm using that Javascript code to generate three things: private key, public key and public address (last 40 characters from public key): const EC = require('elliptic').ec; const ec = new EC('...
Márcio's user avatar
  • 23
1 vote
1 answer
73 views

Using an ERC20 crowdsale for a non-Ethereum based coin

I am confused as to how a crowdsale works. If in a crowdsale, people give their Ethereum to a new coin to be entered in a smart contract. Doesn't that mean that the receiving end of the contract (...
Ben Hagel's user avatar
  • 121
3 votes
0 answers
99 views

Cheap EC Operations on Unsupported Curves

I want to be able to verify signatures created by smart meters. Unfortunately, their signature algorithm doesn't use curve ALT_BN_128 but BrainpoolP256r1. I wrote this verification algorithm that ...
UTF-8's user avatar
  • 518
0 votes
1 answer
140 views

ECC scalar multiplication

I'm now trying to use scalar multiplication to recover v, but I have questions with ECC scalar multiplication. I'm wondering if the following equations are correct. If scalar * P = Q, then scalar * (...
tyyen's user avatar
  • 67
4 votes
0 answers
167 views

VM revert on Scalar Multiplication in pre-compiled contracts

I tried to build a wrapper around the precompiled contracts as follows: https://gist.github.com/AlexXiong97/9c24bbd4541323a61fa63100860a5f89 If you paste it into Remix and deploy it, inputting any (...
Alex Xiong's user avatar
0 votes
1 answer
69 views

discover if a binary data contains Ethereum address in it?

Is there a way to guess, with some level of probability , that a 20 byte array is an Ethereum address, besides doing a query against the current StateDB and its history ? I want to discover hidden ...
Nulik's user avatar
  • 4,021
1 vote
2 answers
4k views

Can private keys change once created?

Can private keys change once the public key (address) is created?
Matt Hess's user avatar