sodium_crypto_sign_publickey_from_secretkey

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Extract the Ed25519 public key from the secret key
<?php sodium_crypto_sign_publickey_from_secretkey(string $secret_key): string