On 21.05.2015 03:15, Scott Arciszewski wrote: > I've just opened an RFC for precisely this purpose: > https://wiki.php.net/rfc/libsodium
>From https://github.com/jedisct1/libsodium-php : // Binary to hexadecimal $hex = Sodium::sodium_bin2hex($bin); // Hexadecimal to binary $bin = Sodium::sodium_hex2bin($hex); // Hexadecimal to binary, ignoring a set of characters $bin = Sodium::sodium_hex2bin($hex, $string_of_characters_to_ignore); What's the reason for this redundancy (Sodium::sodium_*) ? thanks, - Markus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php