byte[] GetEncoded(ECPoint point, bool compressed) { var x = point.GetX().ToInt(); var y = point.GetY().ToInt(); var enc = ToReversedBytes(x); if (compressed) { if (y.IsEven) { enc = new byte[] { 2 } }