sodium_bin2hex

The timeline below displays how wordpress function sodium_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::hex2bin()
 * @param string $string
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_bin2hex($string)
{
    return ParagonIE_Sodium_Compat::bin2hex($string);
}