derivePublicKeyFromBytes function
Generates a public key for the given private key. @param privateKey is a Uint8List @param compressed The output public key is compressed or not.
Implementation
Uint8List derivePublicKeyFromBytes(Uint8List privateKey, bool compressed) {
return derivePublicKey(bytesToInt(privateKey), compressed);
}