secp256r1PubKeyToAddress static method

List<int> secp256r1PubKeyToAddress(
  1. List<int> pubkeyBytes
)

Implementation

static List<int> secp256r1PubKeyToAddress(List<int> pubkeyBytes) {
  final pubkey = AddrKeyValidator.validateAndGetNist256p1Key(pubkeyBytes);
  return hash(nist566p1KeyType, pubkey.compressed);
}