WordPress at a glance
function is not described

ParagonIE_Sodium_Core32_Ed25519::sk_to_pk() public WP 1.0

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

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Core32_Ed25519::sk_to_pk( $sk );
$sk(string) (required)
-

Code of ParagonIE_Sodium_Core32_Ed25519::sk_to_pk() WP 5.7.1

<?php
public static function sk_to_pk($sk)
{
    return self::ge_p3_tobytes(
        self::ge_scalarmult_base(
            self::substr($sk, 0, 32)
        )
    );
}