Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence de la classe ParagonIE_Sodium_Core_BLAKE2b
+ Graphe d'héritage de ParagonIE_Sodium_Core_BLAKE2b:

Fonctions membres publiques statiques

static new64 ($high, $low)
 
static rotr64 ($x, $c)
 
static pseudoConstructor ()
 
static G ($r, $i, $a, $b, $c, $d, SplFixedArray $v, SplFixedArray $m)
 
static increment_counter ($ctx, $inc)
 
static update (SplFixedArray $ctx, SplFixedArray $p, $plen)
 
static finish (SplFixedArray $ctx, SplFixedArray $out)
 
static init ($key=null, $outlen=64)
 
static stringToSplFixedArray ($str='')
 
static contextToString (SplFixedArray $ctx)
 
static stringToContext ($string)
 
- Fonctions membres publiques statiques hérités de ParagonIE_Sodium_Core_Util
static bin2hex ($binaryString)
 
static chrToInt ($chr)
 
static compare ($left, $right, $len=null)
 
static declareScalarType (&$mixedVar=null, $type='void', $argumentIndex=0)
 
static hashEquals ($left, $right)
 
static hex2bin ($hexString, $strictPadding=false)
 
static intArrayToString (array $ints)
 
static intToChr ($int)
 
static load_3 ($string)
 
static load_4 ($string)
 
static load64_le ($string)
 
static memcmp ($left, $right)
 
static numericTo64BitInteger ($num)
 
static store_3 ($int)
 
static store32_le ($int)
 
static store_4 ($int)
 
static store64_le ($int)
 
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
 

Fonctions membres protégées statiques

static to64 ($num)
 
static add64 ($x, $y)
 
static add364 ($x, $y, $z)
 
static xor64 (SplFixedArray $x, SplFixedArray $y)
 
static flatten64 ($x)
 
static load64 (SplFixedArray $x, $i)
 
static store64 (SplFixedArray $x, $i, SplFixedArray $u)
 
static context ()
 
static compress (SplFixedArray $ctx, SplFixedArray $buf)
 
- Fonctions membres protégées statiques hérités de ParagonIE_Sodium_Core_Util
static isMbStringOverride ()
 

Attributs protégés statiques

static $iv
 
static $sigma
 

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 
)
staticprotected

◆ 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.

◆ contextToString()

static contextToString ( SplFixedArray  $ctx)
static

Références $i.

◆ finish()

static finish ( SplFixedArray  $ctx,
SplFixedArray  $out 
)
static

Références $i.

◆ flatten64()

static flatten64 (   $x)
staticprotected

◆ G()

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

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

◆ increment_counter()

static increment_counter (   $ctx,
  $inc 
)
static

◆ init()

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

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

◆ load64()

static load64 ( SplFixedArray  $x,
  $i 
)
staticprotected

Références $i.

◆ new64()

static new64 (   $high,
  $low 
)
static

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

◆ pseudoConstructor()

static pseudoConstructor ( )
static

This just sets the $iv static variable.

◆ rotr64()

static rotr64 (   $x,
  $c 
)
static

Références $tmp.

◆ store64()

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

Références $i.

◆ stringToContext()

static stringToContext (   $string)
static

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

Références $i.

◆ stringToSplFixedArray()

static stringToSplFixedArray (   $str = '')
static

Convert a string into an SplFixedArray of integers

◆ 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 $offset.

◆ xor64()

static xor64 ( SplFixedArray  $x,
SplFixedArray  $y 
)
staticprotected

Documentation des champs

◆ $iv

$iv
staticprotected

◆ $sigma

$sigma
staticprotected
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 :