ParagonIE_Sodium_Core32_Ed25519::sk_to_pk() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = ParagonIE_Sodium_Core32_Ed25519::sk_to_pk( $sk );

Parameters

$sk
( string ) required

Returns

string

Source

File name: wordpress/wp-includes/sodium_compat/src/Core32/Ed25519.php
Lines:

1 to 8 of 8
    public static function sk_to_pk($sk)
    {
        return self::ge_p3_tobytes(
            self::ge_scalarmult_base(
                self::substr($sk, 0, 32)
            )
        );
    }
 

 View on GitHub View on Trac