# Functions
GenPrivKey generates a new secp256r1 private key.
IsSNormalized returns true for the integer sigS if sigS falls in lower half of the curve order.
NormalizeS will invert the s value if not already in the lower half of curve order value.