wp/wp-includes/sodium_compat/src/Core32/BLAKE2b.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   575      *
   575      *
   576      * @internal You should not use this directly from another application
   576      * @internal You should not use this directly from another application
   577      *
   577      *
   578      * @param string $str
   578      * @param string $str
   579      * @return SplFixedArray
   579      * @return SplFixedArray
       
   580      * @psalm-suppress MixedArgumentTypeCoercion
   580      */
   581      */
   581     public static function stringToSplFixedArray($str = '')
   582     public static function stringToSplFixedArray($str = '')
   582     {
   583     {
   583         $values = unpack('C*', $str);
   584         $values = unpack('C*', $str);
   584         return SplFixedArray::fromArray(array_values($values));
   585         return SplFixedArray::fromArray(array_values($values));