WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_kx_publickey() public WP 1.0

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

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Compat::crypto_kx_publickey( $kp );
$kp(string) (required)
-

Code of ParagonIE_Sodium_Compat::crypto_kx_publickey() WP 5.7.1

<?php
public static function crypto_kx_publickey($kp)
{
    return ParagonIE_Sodium_Core_Util::substr(
        $kp,
        self::CRYPTO_KX_SECRETKEYBYTES,
        self::CRYPTO_KX_PUBLICKEYBYTES
    );
}