sodium_crypto_kx_secretkey

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