pub fn secret_to_public( alg: Algorithm, sk: impl AsRef<[u8]>, ) -> Result<Vec<u8>, Error>
Compute the public key for a private key of the given Algorithm. Applicable only to X25519 and secp256r1.
Algorithm