Re: libsodium for PHP 7?

From: Date: Fri, 02 Jan 2015 21:02:56 +0000
Subject: Re: libsodium for PHP 7?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80107@lists.php.net to get a copy of this message
hi, On Fri, Jan 2, 2015 at 9:05 AM, Scott Arciszewski <kobrasrealm@gmail.com> wrote: > Hi PHP Internals, > > Right now, the libsodium PECL package is in the beta channel. Would it be > possible to include libsodium as a core extension in PHP 7? If so, what > hurdles would need to be cleared before that happens? > > http://doc.libsodium.org/ > http://pecl.php.net/package/libsodium > https://github.com/jedisct1/libsodium-php It is possible, however I am not a big fan of its APIs. Mapping one to one the library APIs may sound nice but it is actually not a good thing in this case in my humble opinion. Many functions do not make sense to expose directly or not using the same methods. That being said, I like libsodium, used it in a couple of projects (not php related) :) Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#80107) next »