normalizePublicKey abstract method

BuBytes? normalizePublicKey(
  1. List<int> publicKey
)

Validates 33/65-byte publicKey and returns its canonical base (compressed) encoding, or null when invalid (bad length, prefix, range, curve membership, or identity).

Implementation

BuBytes? normalizePublicKey(List<int> publicKey);