getPublicFromPrivateKey function
Implementation
Uint8List? getPublicFromPrivateKey(
Uint8List privateKey, [
bool compress = false,
]) {
final BigInt privateKeyNum = privateKey.toBn(endian: Endian.big);
return getPublicFromPrivateKeyBigInt(privateKeyNum, compress);
}