Could you please explain why the code doesn't work when the generator point changes? I'm very interested in experimenting with different generators. Can you assist me with this?
Are you saying that you are changing the value of Generator (G) and it is not working?
https://github.com/RetiredC/RCKangaroo/blob/main/Ec.cpp#L113-L114Bitcoin uses secp256k1, so the G should be what is defined to be:
https://en.bitcoin.it/wiki/Secp256k1G point is the following:
(compressed form): 0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
(uncompressed form): 0479BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798483ADA7726A3C
4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8