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