publicKeyOf static method

Uint8List publicKeyOf(
  1. List<int> privateKey
)

The public key for a 32-byte privateKey.

Implementation

static Uint8List publicKeyOf(List<int> privateKey) => using((arena) {
  final pkey = rawPrivateKey(arena, algorithm, privateKey);
  return rawPublicBytes(arena, pkey);
});