WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto32::box_publickey_from_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_publickey_from_secretkey( $sKey );
$sKey(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::box_publickey_from_secretkey() WP 5.7

<?php
public static function box_publickey_from_secretkey($sKey)
{
    if (ParagonIE_Sodium_Core32_Util::strlen($sKey) !== ParagonIE_Sodium_Compat::CRYPTO_BOX_SECRETKEYBYTES) {
        throw new RangeException(
            'Must be ParagonIE_Sodium_Compat::CRYPTO_BOX_SECRETKEYBYTES bytes long.'
        );
    }
    return self::scalarmult_base($sKey);
}