Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe ParagonIE_Sodium_Core_Ed25519
+ Graphe d'héritage de ParagonIE_Sodium_Core_Ed25519:

Fonctions membres publiques statiques

static keypair ()
 
static secretkey ($keypair)
 
static publickey ($keypair)
 
static pk_to_curve25519 ($pk)
 
static sk_to_pk ($sk)
 
static sign_detached ($message, $sk)
 
static scalar_complement ($s)
 
static scalar_random ()
 
static scalar_negate ($s)
 
static scalar_add ($a, $b)
 
static scalar_sub ($x, $y)
 
- Fonctions membres publiques statiques hérités de ParagonIE_Sodium_Core_Curve25519
static fe_0 ()
 
static fe_1 ()
 
static fe_copy (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
static fe_frombytes ($s)
 
static fe_isnegative (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
static fe_mul (ParagonIE_Sodium_Core_Curve25519_Fe $f, ParagonIE_Sodium_Core_Curve25519_Fe $g)
 
static fe_neg (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
static fe_sq (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
static fe_sq2 (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
static fe_invert (ParagonIE_Sodium_Core_Curve25519_Fe $Z)
 
static fe_pow22523 (ParagonIE_Sodium_Core_Curve25519_Fe $z)
 
static fe_sub (ParagonIE_Sodium_Core_Curve25519_Fe $f, ParagonIE_Sodium_Core_Curve25519_Fe $g)
 
static ge_add (ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p, ParagonIE_Sodium_Core_Curve25519_Ge_Cached $q)
 
static ge_madd (ParagonIE_Sodium_Core_Curve25519_Ge_P1p1 $R, ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p, ParagonIE_Sodium_Core_Curve25519_Ge_Precomp $q)
 
static ge_msub (ParagonIE_Sodium_Core_Curve25519_Ge_P1p1 $R, ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p, ParagonIE_Sodium_Core_Curve25519_Ge_Precomp $q)
 
static ge_p1p1_to_p2 (ParagonIE_Sodium_Core_Curve25519_Ge_P1p1 $p)
 
static ge_p1p1_to_p3 (ParagonIE_Sodium_Core_Curve25519_Ge_P1p1 $p)
 
static ge_p2_0 ()
 
static ge_p2_dbl (ParagonIE_Sodium_Core_Curve25519_Ge_P2 $p)
 
static ge_p3_0 ()
 
static ge_p3_to_p2 (ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p)
 
static ge_p3_tobytes (ParagonIE_Sodium_Core_Curve25519_Ge_P3 $h)
 
static ge_p3_dbl (ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p)
 
static ge_precomp_0 ()
 
static equal ($b, $c)
 
static negative ($char)
 
static cmov (ParagonIE_Sodium_Core_Curve25519_Ge_Precomp $t, ParagonIE_Sodium_Core_Curve25519_Ge_Precomp $u, $b)
 
static ge_cmov_cached (ParagonIE_Sodium_Core_Curve25519_Ge_Cached $t, ParagonIE_Sodium_Core_Curve25519_Ge_Cached $u, $b)
 
static ge_cmov8_cached (array $cached, $b)
 
static ge_sub (ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p, ParagonIE_Sodium_Core_Curve25519_Ge_Cached $q)
 
static ge_tobytes (ParagonIE_Sodium_Core_Curve25519_Ge_P2 $h)
 
static sc25519_mul ($a, $b)
 
static sc25519_sq ($s)
 
static sc25519_sqmul ($s, $n, $a)
 
static sc25519_invert ($s)
 
static clamp ($s)
 
static fe_normalize (ParagonIE_Sodium_Core_Curve25519_Fe $f)
 
- Fonctions membres publiques statiques hérités de ParagonIE_Sodium_Core_Util
static compare ($left, $right, $len=null)
 
static declareScalarType (&$mixedVar=null, $type='void', $argumentIndex=0)
 
static intToChr ($int)
 
static memcmp ($left, $right)
 
static strlen ($str)
 
static substr ($str, $start=0, $length=null)
 
static verify_16 ($a, $b)
 
static verify_32 ($a, $b)
 
static xorStrings ($a, $b)
 

Champs de données

const KEYPAIR_BYTES = 96
 
const SEED_BYTES = 32
 
const SCALAR_BYTES = 32
 
- Champs de données hérités de ParagonIE_Sodium_Core_Curve25519_H
const L = "\xed\xd3\xf5\x5c\x1a\x63\x12\x58\xd6\x9c\xf7\xa2\xde\xf9\xde\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10"
 

Membres hérités additionnels

- Fonctions membres protégées statiques hérités de ParagonIE_Sodium_Core_Util
static hash_update (&$hs, $data)
 
- Attributs protégés statiques hérités de ParagonIE_Sodium_Core_Curve25519_H
static $base
 
static $base2
 
static $d
 
static $d2
 
static $sqrtm1
 
static $invsqrtamd
 
static $sqrtadm1
 
static $onemsqd
 
static $sqdmone
 

Description détaillée

Documentation des fonctions membres

◆ keypair()

static keypair ( )
static

◆ pk_to_curve25519()

static pk_to_curve25519 (   $pk)
static
Paramètres
string$pk
Renvoie
string
Exceptions
SodiumException
TypeError

Référencé par ParagonIE_Sodium_Compat\crypto_sign_ed25519_pk_to_curve25519().

◆ publickey()

static publickey (   $keypair)
static

◆ scalar_add()

static scalar_add (   $a,
  $b 
)
static
Paramètres
string$a
string$b
Renvoie
string
Exceptions
SodiumException

Références $b, et ParagonIE_Sodium_Compat\add().

◆ scalar_complement()

static scalar_complement (   $s)
static
Paramètres
string$s
Renvoie
string
Exceptions
SodiumException

Références ParagonIE_Sodium_Compat\sub().

◆ scalar_negate()

static scalar_negate (   $s)
static
Paramètres
string$s
Renvoie
string
Exceptions
SodiumException

Références ParagonIE_Sodium_Compat\sub().

◆ scalar_random()

static scalar_random ( )
static
Renvoie
string
Exceptions
SodiumException

Références $r, et ParagonIE_Sodium_Compat\is_zero().

◆ scalar_sub()

static scalar_sub (   $x,
  $y 
)
static
Paramètres
string$x
string$y
Renvoie
string
Exceptions
SodiumException

◆ secretkey()

static secretkey (   $keypair)
static

◆ sign_detached()

static sign_detached (   $message,
  $sk 
)
static

◆ sk_to_pk()

static sk_to_pk (   $sk)
static

Documentation des champs

◆ KEYPAIR_BYTES

const KEYPAIR_BYTES = 96

◆ SCALAR_BYTES

const SCALAR_BYTES = 32

◆ SEED_BYTES

const SEED_BYTES = 32

La documentation de cette classe a été générée à partir du fichier suivant :