Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe ParagonIE_Sodium_Core32_BLAKE2b
+ Graphe d'héritage de ParagonIE_Sodium_Core32_BLAKE2b:

Fonctions membres publiques statiques

static new64 ($high, $low)
 
static add364 ($x, $y, $z)
 
static xor64 (ParagonIE_Sodium_Core32_Int64 $x, ParagonIE_Sodium_Core32_Int64 $y)
 
static rotr64 (ParagonIE_Sodium_Core32_Int64 $x, $c)
 
static store64 (SplFixedArray $x, $i, ParagonIE_Sodium_Core32_Int64 $u)
 
static pseudoConstructor ()
 
static G ($r, $i, $a, $b, $c, $d, SplFixedArray $v, SplFixedArray $m)
 
static update (SplFixedArray $ctx, SplFixedArray $p, $plen)
 
static init ( $key=null, $outlen=64, $salt=null, $personal=null)
 
static stringToSplFixedArray ($str='')
 
static stringToContext ($string)
 
- 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 BLOCKBYTES = 128
 
const OUTBYTES = 64
 
const KEYBYTES = 64
 

Attributs publics statiques

static $iv
 
static $sigma
 

Fonctions membres protégées statiques

static to64 ($num)
 
static add64 ($x, $y)
 
static context ()
 
static compress (SplFixedArray $ctx, SplFixedArray $buf)
 
- Fonctions membres protégées statiques hérités de ParagonIE_Sodium_Core_Util
static hash_update (&$hs, $data)
 

Description détaillée

Class ParagonIE_Sodium_Core_BLAKE2b

Based on the work of Devi Mandiri in devi/salt.

Documentation des fonctions membres

◆ add364()

static add364 (   $x,
  $y,
  $z 
)
static

◆ add64()

static add64 (   $x,
  $y 
)
staticprotected

Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer).

◆ compress()

static compress ( SplFixedArray  $ctx,
SplFixedArray  $buf 
)
staticprotected

Références $i, et $r.

◆ context()

static context ( )
staticprotected

Returns a fresh BLAKE2 context.

Références $i.

◆ G()

static G (   $r,
  $i,
  $a,
  $b,
  $c,
  $d,
SplFixedArray  $v,
SplFixedArray  $m 
)
static

Références $b, $c, $i, et $r.

◆ init()

static init (   $key = null,
  $outlen = 64,
  $salt = null,
  $personal = null 
)
static

Références $i, $key, et null.

◆ new64()

static new64 (   $high,
  $low 
)
static

Turn two 32-bit integers into a fixed array representing a 64-bit integer.

Références ParagonIE_Sodium_Core32_Int64\fromInts().

◆ pseudoConstructor()

static pseudoConstructor ( )
static

This just sets the $iv static variable.

◆ rotr64()

static rotr64 ( ParagonIE_Sodium_Core32_Int64  $x,
  $c 
)
static

Références $c.

◆ store64()

static store64 ( SplFixedArray  $x,
  $i,
ParagonIE_Sodium_Core32_Int64  $u 
)
static

Références $i, et SplFixedArray\getSize().

◆ stringToContext()

static stringToContext (   $string)
static

Creates an SplFixedArray containing other SplFixedArray elements, from a string (compatible with {init, update, final})

Références $i, et ParagonIE_Sodium_Core32_Int64\fromReverseString().

◆ stringToSplFixedArray()

static stringToSplFixedArray (   $str = '')
static

Convert a string into an SplFixedArray of integers

Références SplFixedArray\fromArray().

◆ to64()

static to64 (   $num)
staticprotected

Convert an arbitrary number into an SplFixedArray of two 32-bit integers that represents a 64-bit integer.

◆ update()

static update ( SplFixedArray  $ctx,
SplFixedArray  $p,
  $plen 
)
static

Références $i, et Joomla\Database\Query\$offset.

◆ xor64()

Documentation des champs

◆ $iv

$iv
static

◆ $sigma

$sigma
static
Valeur initiale :
= array(
array( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15),
array( 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3),
array( 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4),
array( 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8),
array( 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13),
array( 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9),
array( 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11),
array( 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10),
array( 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5),
array( 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13 , 0),
array( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15),
array( 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3)
)

◆ BLOCKBYTES

const BLOCKBYTES = 128

◆ KEYBYTES

const KEYBYTES = 64

◆ OUTBYTES

const OUTBYTES = 64

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