Store a 24-bit integer into a string, treating it as big-endian.
ParagonIE_Sodium_Core_Util::numericTo64BitInteger
Convert any arbitrary numbers into two 32-bit integers that represent a 64-bit integer.
ParagonIE_Sodium_Core_Util::mul
Multiply two integers in constant-time
ParagonIE_Sodium_Core_Util::memcmp
Advertisement
ParagonIE_Sodium_Core_Util::load64_le
Load a 8 character substring into an integer
ParagonIE_Sodium_Core_Util::load_4
Load a 4 character substring into an integer
ParagonIE_Sodium_Core_Util::load_3
Load a 3 character substring into an integer
ParagonIE_Sodium_Core_Util::intToChr
Cache-timing-safe variant of ord()
Advertisement
ParagonIE_Sodium_Core_Util::intArrayToString
Turn an array of integers into a string
ParagonIE_Sodium_Core_Util::hex2bin
Convert a hexadecimal string into a binary string without cache-timing leaks
ParagonIE_Sodium_Core_Util::hashEquals
Evaluate whether or not two strings are equal (in constant-time)
ParagonIE_Sodium_Core_Util::declareScalarType
If a variable does not match a given type, throw a TypeError.
Advertisement
ParagonIE_Sodium_Core_Util::compare
Compares two strings.
ParagonIE_Sodium_Core_Util::chrToInt
Cache-timing-safe variant of ord()
ParagonIE_Sodium_Core_Util::bin2hexUpper
Convert a binary string into a hexadecimal string without cache-timing leaks, returning uppercase letters (as per RFC 4648)