Bitcoin Forum
May 06, 2024, 11:32:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: python script to change generating point of secp256k1  (Read 203 times)
Loai (OP)
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
1714995145
Hero Member
*
Offline Offline

Posts: 1714995145

View Profile Personal Message (Offline)

Ignore
1714995145
Reply with quote  #2

1714995145
Report to moderator
1714995145
Hero Member
*
Offline Offline

Posts: 1714995145

View Profile Personal Message (Offline)

Ignore
1714995145
Reply with quote  #2

1714995145
Report to moderator
1714995145
Hero Member
*
Offline Offline

Posts: 1714995145

View Profile Personal Message (Offline)

Ignore
1714995145
Reply with quote  #2

1714995145
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714995145
Hero Member
*
Offline Offline

Posts: 1714995145

View Profile Personal Message (Offline)

Ignore
1714995145
Reply with quote  #2

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

Activity: 378
Merit: 197



View Profile
May 07, 2018, 08:58:27 AM
Merited by ABCbits (2), 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 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!