WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_kx_keypair() 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_keypair();

Code of ParagonIE_Sodium_Compat::crypto_kx_keypair() WP 5.7

<?php
public static function crypto_kx_keypair()
{
    $sk = self::randombytes_buf(self::CRYPTO_KX_SECRETKEYBYTES);
    $pk = self::crypto_scalarmult_base($sk);
    return $sk . $pk;
}