Bitcoin Forum
September 18, 2019, 09:05:06 PM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: python script to change generating point of secp256k1  (Read 82 times)
Loai
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 07, 2018, 07:54:00 AM
 #1

hi

as you know bitcoin uses (0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798,0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8) as a generating point, my question is how to change the generator in secp526k1 (or append it inside pycoin package).
thanks in advance for your help
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1568840706
Hero Member
*
Offline Offline

Posts: 1568840706

View Profile Personal Message (Offline)

Ignore
1568840706
Reply with quote  #2

1568840706
Report to moderator
aplistir
Full Member
***
Offline Offline

Activity: 351
Merit: 161



View Profile
May 07, 2018, 08:58:27 AM
Merited by Xynerise (2), HeRetiK (1)
 #2

as you know bitcoin uses (0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798,0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8) as a generating point, my question is how to change the generator in secp526k1 (or append it inside pycoin package).
thanks in advance for your help

The generator point G is a part of the definition of secp256k1. If you change the G, then you are not using secp256k1 any longer.

And why would you want to change the G that is used. The choice of G does NOT affect the security of the curve in any way, since IF there exists even one weak generator for curve secp256k1, then it can be used in cracking the curve with any choice of G.

But to your question. You can create a curve with any curve parameters you want, but then you will have to give the curve parameters manually, since you are no longer using secp256k1...

My Address: 121f7zb2U4g9iM4MiJTDhEzqeZGHzq5wLh
Loai
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 07, 2018, 10:20:10 AM
 #3

as you know bitcoin uses (0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798,0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8) as a generating point, my question is how to change the generator in secp526k1 (or append it inside pycoin package).
thanks in advance for your help

The generator point G is a part of the definition of secp256k1. If you change the G, then you are not using secp256k1 any longer.

And why would you want to change the G that is used. The choice of G does NOT affect the security of the curve in any way, since IF there exists even one weak generator for curve secp256k1, then it can be used in cracking the curve with any choice of G.

But to your question. You can create a curve with any curve parameters you want, but then you will have to give the curve parameters manually, since you are no longer using secp256k1...


i'm trying to learn how to verify the tx signature, as you know the verification process require the public key (Q) to be multiplied with (R/S), i find out the if i set the generator point equal to Q and enter the value (R/S) as private key you will get the same result as adding Q (R/S) times.
then how the miner verify the tx signature
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!