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