normalizePublicKey method

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

Validates 32-byte publicKey (33-byte 0xed-prefixed form accepted) and returns its canonical 32-byte base encoding, or null when invalid (bad length, prefix, range, curve membership, or identity).

Implementation

@override
BuBytes? normalizePublicKey(List<int> publicKey) {
  return inner.normalizePublicKey(publicKey);
}