WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto::box_keypair() public WP 1.0

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

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto::box_keypair();

Code of ParagonIE_Sodium_Crypto::box_keypair() WP 5.7

<?php
public static function box_keypair()
{
    $sKey = random_bytes(32);
    $pKey = self::scalarmult_base($sKey);
    return $sKey . $pKey;
}