Cryptography, Cryptocurrency, Go, Mathematics, Security.
results need to be modulo p. To give you a sense of the implementation here is a working example. We’ll be using the math/big library of Go which is essential for big number manipulation — recall, we’re dealing with huge numbers that don’t fit in a regular 64 bits register! // Subtract the 2 y