WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto::box_seed_keypair() public WP 1.0

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

No Hooks.

Return

String. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto::box_seed_keypair( $seed );
$seed(string) (required)
-

Code of ParagonIE_Sodium_Crypto::box_seed_keypair() WP 5.7.1

<?php
public static function box_seed_keypair($seed)
{
    $sKey = ParagonIE_Sodium_Core_Util::substr(
        hash('sha512', $seed, true),
        0,
        32
    );
    $pKey = self::scalarmult_base($sKey);
    return $sKey . $pKey;
}