public static function ParagonIE_Sodium_Core32_BLAKE2b::pseudoConstructor in Automatic Updates 8
Same name and namespace in other branches
- 7 vendor/paragonie/sodium_compat/src/Core32/BLAKE2b.php \ParagonIE_Sodium_Core32_BLAKE2b::pseudoConstructor()
This just sets the $iv static variable.
@internal You should not use this directly from another application
Return value
void
Throws
SodiumException
TypeError
7 calls to ParagonIE_Sodium_Core32_BLAKE2b::pseudoConstructor()
- ParagonIE_Sodium_Core32_BLAKE2b::finish in vendor/
paragonie/ sodium_compat/ src/ Core32/ BLAKE2b.php - @internal You should not use this directly from another application
- ParagonIE_Sodium_Core32_BLAKE2b::init in vendor/
paragonie/ sodium_compat/ src/ Core32/ BLAKE2b.php - @internal You should not use this directly from another application
- ParagonIE_Sodium_Core32_BLAKE2b::update in vendor/
paragonie/ sodium_compat/ src/ Core32/ BLAKE2b.php - @internal You should not use this directly from another application
- ParagonIE_Sodium_Crypto32::generichash in vendor/
paragonie/ sodium_compat/ src/ Crypto32.php - Calculate a BLAKE2b hash.
- ParagonIE_Sodium_Crypto32::generichash_init in vendor/
paragonie/ sodium_compat/ src/ Crypto32.php - Initialize a hashing context for BLAKE2b.
File
- vendor/
paragonie/ sodium_compat/ src/ Core32/ BLAKE2b.php, line 190
Class
- ParagonIE_Sodium_Core32_BLAKE2b
- Class ParagonIE_Sodium_Core_BLAKE2b
Code
public static function pseudoConstructor() {
static $called = false;
if ($called) {
return;
}
self::$iv = new SplFixedArray(8);
self::$iv[0] = self::new64(0x6a09e667, 0xf3bcc908);
self::$iv[1] = self::new64(0xbb67ae85, 0x84caa73b);
self::$iv[2] = self::new64(0x3c6ef372, 0xfe94f82b);
self::$iv[3] = self::new64(0xa54ff53a, 0x5f1d36f1);
self::$iv[4] = self::new64(0x510e527f, 0xade682d1);
self::$iv[5] = self::new64(0x9b05688c, 0x2b3e6c1f);
self::$iv[6] = self::new64(0x1f83d9ab, 0xfb41bd6b);
self::$iv[7] = self::new64(0x5be0cd19, 0x137e2179);
$called = true;
}