You are here

protected static function ParagonIE_Sodium_Core_BLAKE2b::to64 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::to64()

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

@internal You should not use this directly from another application

Parameters

int $num:

Return value

SplFixedArray

1 call to ParagonIE_Sodium_Core_BLAKE2b::to64()
ParagonIE_Sodium_Core_BLAKE2b::increment_counter in vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
@internal You should not use this directly from another application

File

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

Class

ParagonIE_Sodium_Core_BLAKE2b
Class ParagonIE_Sodium_Core_BLAKE2b

Code

protected static function to64($num) {
  list($hi, $lo) = self::numericTo64BitInteger($num);
  return self::new64($hi, $lo);
}