pub fn secret_to_public( alg: Algorithm, scalar: impl AsRef<[u8]>, ) -> Result<Vec<u8>, Error>
Derive the public key for the provided secret key scalar.
scalar