WordPress at a glance
function is not described

ParagonIE_Sodium_Core_Ed25519::keypair() public WP 1.0

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

No Hooks.

Return

String. (96 bytes)

Usage

$result = ParagonIE_Sodium_Core_Ed25519::keypair();

Code of ParagonIE_Sodium_Core_Ed25519::keypair() WP 5.7

<?php
public static function keypair()
{
    $seed = random_bytes(self::SEED_BYTES);
    $pk = '';
    $sk = '';
    self::seed_keypair($pk, $sk, $seed);
    return $sk . $pk;
}