Example #1
0
 public static string ToHex(this G2 g2, bool prefix = true)
 {
     return(g2.ToBytes().ToHex(prefix));
 }
Example #2
0
        public bool Parity()
        {
            var p = _signature.ToBytes().Aggregate(0u, (i, b) => i ^ b, x => x);

            return(BitsUtils.Popcount(p) % 2 == 1);
        }