Safe Haskell | None |
---|---|
Language | Haskell2010 |
Point serialisation using https://tools.ietf.org/id/draft-jivsov-ecc-compact-05.html It is unclear if 02 is smallest y or not so the following is used in the first 2 bytes 01 - Point at infinity 02 - Compressed repr i.e. x only but use smallest y on decode 03 - Compressed repr i.e. x only but use largest y on decode 04 -- Uncompressed repr i.e. x & y