sodium_crypto_box_publickey

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Extract the public key from a crypto_box keypair
<?php sodium_crypto_box_publickey(string $key_pair): string