New answers tagged compression
I had trouble with this as well when I was learning about ECC. I have no idea if this is the technically correct way to do it, but it works in my program... Well, I know for a fact it works with secp256k1, secp384r1, and secp511r1 at least. i = (first byte of compressed point) mod 2 y2 = ((x ^ 3 mod p) + a*x + b) mod p y_ = (y2 ^ ((p+1)/4)) mod p if i is ...
Top 50 recent answers are included