Title: python script to change generating point of secp256k1Post by: Loai on May 07, 2018, 07:54:00 AM
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 Title: Re: python script to change generating point of secp256k1Post by: aplistir on May 07, 2018, 08:58:27 AM
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... Title: Re: python script to change generating point of secp256k1Post by: Loai on May 07, 2018, 10:20:10 AM
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 |