Re: [RFC] [PHP 7.1] libsodium

From: Date: Fri, 22 May 2015 17:51:09 +0000
Subject: Re: [RFC] [PHP 7.1] libsodium
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-86351@lists.php.net to get a copy of this message
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

« previous php.internals (#86351) next »