New answers tagged

1

If you read all of the RF 8032 you will see that there is a compression (endcodings) of the points. def point_compress(P): zinv = modp_inv(P[2]) x = P[0] * zinv % p y = P[1] * zinv % p return int.to_bytes(y | ((x & 1) << 255), 32, "little") Compression just stores the sign and restores it back with this information def ...


Top 50 recent answers are included