![]() |
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é
|
Membres hérités additionnels | |
![]() | |
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" |
![]() | |
static | hash_update (&$hs, $data) |
![]() | |
static | $base |
static | $base2 |
static | $d |
static | $d2 |
static | $sqrtm1 |
static | $invsqrtamd |
static | $sqrtadm1 |
static | $onemsqd |
static | $sqdmone |
Class ParagonIE_Sodium_Core_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
https://github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c
|
static |
string | $s |
|
static |
Conditional move
Références $b.
|
static |
Références $b.
|
static |
Get a field element of size 10 with a value of 0
|
static |
Get a field element of size 10 with a value of 1
|
static |
Create a copy of a field element.
|
static |
Give: 32-byte string. Receive: A field element object to use for internal calculations.
|
static |
Références $i.
|
static |
Is a field element negative? (1 = yes, 0 = no. Used in calculations.)
|
static |
|
static |
|
static |
Ensure limbs are less than 28 bits long to prevent float promotion.
This uses a constant-time conditional swap under the hood.
ParagonIE_Sodium_Core_Curve25519_Fe | $f |
|
static |
Références $i.
|
static |
Square a field element
h = f * f
|
static |
Square and double a field element
h = 2 * f * f
|
static |
Subtract two field elements.
h = f - g
Preconditions: |f| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc. |g| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
Postconditions: |h| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc.
Références $g.
|
static |
|
static |
ParagonIE_Sodium_Core_Curve25519_Ge_Cached[] | $cached | |
int | $b |
SodiumException |
Références $b.
|
static |
ParagonIE_Sodium_Core_Curve25519_Ge_Cached | $t | |
ParagonIE_Sodium_Core_Curve25519_Ge_Cached | $u | |
int | $b |
Références $b.
|
static |
Références $r.
|
static |
Références $r.
|
static |
Références $r.
|
static |
Références $r.
|
static |
|
static |
Références $r.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Convert a group element to a byte string.
ParagonIE_Sodium_Core_Curve25519_Ge_P2 | $h |
SodiumException | |
TypeError |
|
static |
|
static |
string | $s |
|
static |
|
static |
string | $s |
|
static |