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