WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto32::box_secretkey() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Crypto32{}

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto32::box_secretkey( $keypair );
$keypair(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::box_secretkey() WP 5.7

<?php
public static function box_secretkey($keypair)
{
    if (ParagonIE_Sodium_Core32_Util::strlen($keypair) !== 64) {
        throw new RangeException(
            'Must be ParagonIE_Sodium_Compat::CRYPTO_BOX_KEYPAIRBYTES bytes long.'
        );
    }
    return ParagonIE_Sodium_Core32_Util::substr($keypair, 0, 32);
}