bgls-on-evm
bgls-on-evm copied to clipboard
Point compression on G1
Points in G1 can be compressed into just 256 bits, as the x coordinate only takes 254 bits, and the highest order bit can be used to store the parity of the y coordinate. This will require an internal method to derive the y coordinate from the x, which can be abstracted out of the method in hashToG1.