I am studying Elliptic curve and I am trying to solve the $y_1$ and $y_2$ values as in this document: https://www.site.uottawa.ca/~chouinar/Handout_CSI4138_ECC_2002.pdf
As in Page 2 I can find $y^2$ but in some points I can not understand why when $y^2=3$ then $y_1=7$ how to get it?
I can Understand that $y^2=16$ it's obviously $\sqrt{16} = 4$ but if $y^2=8$ or $3$ or $6$ don't know how to get $y_1$?
I don't know what I am missing?
another example is for $y^2 =8$ then what are the square of $y \mod 23$ that give you $8$? a table of all possible squares $a \mod23$ for $a$ from $0$ to $22$ will give you an idea.
since the modulus is prime you can compute the square roots using any algebra software efficiently for example SageMath – Don Freecs Feb 04 '23 at 22:48
Mod p– Feb 05 '23 at 12:28