Is buffer Canonical PubKey
buffer
bool isCanonicalPubKey(Uint8List buffer) { return ecc.isPoint(buffer.buffer.asUint8List()); }