There may be situations where you have to compute y coordinate with given elliptic curve with finite field modulus and x coordinate.
For example, when if elliptic curve domain parameter G starts with 02 or 03, y coordinate of its generator point is missing.
This can be done by Tonelli-Shanks algorithm, but I didn't implemented it for now.
It's not so crucial for now since we can easily get y coordinate information of secp256k1 from internet, parsing elliptic curve domain parameter G starts with 04, but for future, it have to be implemented.
There may be situations where you have to compute y coordinate with given elliptic curve with finite field modulus and x coordinate. For example, when if elliptic curve domain parameter
G
starts with02
or03
, y coordinate of its generator point is missing. This can be done by Tonelli-Shanks algorithm, but I didn't implemented it for now. It's not so crucial for now since we can easily get y coordinate information ofsecp256k1
from internet, parsing elliptic curve domain parameterG
starts with04
, but for future, it have to be implemented.