You are here

public static function ParagonIE_Sodium_Core_BLAKE2b::new64 in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php \ParagonIE_Sodium_Core_BLAKE2b::new64()

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

@internal You should not use this directly from another application

@psalm-suppress MixedAssignment

Parameters

int $high:

int $low:

Return value

SplFixedArray

8 calls to ParagonIE_Sodium_Core_BLAKE2b::new64()
ParagonIE_Sodium_Core_BLAKE2b::add64 in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer).
ParagonIE_Sodium_Core_BLAKE2b::context in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
Returns a fresh BLAKE2 context.
ParagonIE_Sodium_Core_BLAKE2b::finish in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
@internal You should not use this directly from another application
ParagonIE_Sodium_Core_BLAKE2b::load64 in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
@internal You should not use this directly from another application
ParagonIE_Sodium_Core_BLAKE2b::pseudoConstructor in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
This just sets the $iv static variable.

... See full list

File

vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php, line 51

Class

ParagonIE_Sodium_Core_BLAKE2b
Class ParagonIE_Sodium_Core_BLAKE2b

Code

public static function new64($high, $low) {
  $i64 = new SplFixedArray(2);
  $i64[0] = $high & 0xffffffff;
  $i64[1] = $low & 0xffffffff;
  return $i64;
}