bin2hex

The timeline below displays how wordpress function bin2hex has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::bin2hex()
 * @param string $string
 * @return string
 * @throws \SodiumException
 * @throws \TypeError
 */
function bin2hex($string)
{
    return ParagonIE_Sodium_Compat::bin2hex($string);
}