ParagonIE_Sodium_Core_Curve25519::ge_p3_to_p2

Advertisement

Syntax Syntax

ParagonIE_Sodium_Core_Curve25519::ge_p3_to_p2( ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p )

Parameters Parameters

$p

(Required)

Return Return

(ParagonIE_Sodium_Core_Curve25519_Ge_P2)

Source Source

File: wp-includes/sodium_compat/src/Core/Curve25519.php

    public static function ge_p3_to_p2(ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p)
    {
        return new ParagonIE_Sodium_Core_Curve25519_Ge_P2(
            $p->X,
            $p->Y,
            $p->Z
        );
    }

Advertisement

Advertisement

Leave a Reply