ParagonIE_Sodium_Core32_BLAKE2b::stringToSplFixedArray() public WP 1.0
Convert a string into an SplFixedArray of integers
{} It's a method of the class: ParagonIE_Sodium_Core32_BLAKE2b{}
No Hooks.
Return
SplFixedArray
. Null. Nothing.
Usage
$result = ParagonIE_Sodium_Core32_BLAKE2b::stringToSplFixedArray( $str );
- $str(string)
- -
Code of ParagonIE_Sodium_Core32_BLAKE2b::stringToSplFixedArray() ParagonIE Sodium Core32 BLAKE2b::stringToSplFixedArray WP 5.7.1
public static function stringToSplFixedArray($str = '')
{
$values = unpack('C*', $str);
return SplFixedArray::fromArray(array_values($values));
}