privateKeyBytesToPublic function

Uint8List privateKeyBytesToPublic(
  1. Uint8List privateKey
)

Generates a public key for the given private key using the ecdsa curve which Ethereum uses.

Implementation

Uint8List privateKeyBytesToPublic(Uint8List privateKey) {
  return privateKeyToPublic(bytesToUnsignedInt(privateKey));
}