Bitcoin Forum
November 13, 2019, 06:10:56 PM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: python script to change generating point of secp256k1  (Read 84 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
1573668656
Hero Member
*
Offline Offline

Posts: 1573668656

View Profile Personal Message (Offline)

Ignore
1573668656
Reply with quote  #2

1573668656
Report to moderator
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
aplistir
Full Member
***
Offline Offline

Activity: 362
Merit: 167



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!