Re: PHP 7.1 Cryptography Projects

From: Date: Tue, 04 Aug 2015 11:56:32 +0000
Subject: Re: PHP 7.1 Cryptography Projects
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-87600@lists.php.net to get a copy of this message
On Tue, Aug 4, 2015 at 4:26 AM, Peter Lind <peter.e.lind@gmail.com> wrote: > On 4 August 2015 at 10:13, Lauri Kenttä <lauri.kentta@gmail.com> wrote: >> >> On 2015-08-03 23:54, Scott Arciszewski wrote: >>> >>> $AES = new \PCO\Symmetric('openssl:cipher=AES-128'); >> >> >> It would be great if you could just ask for cipher=AES-128 without >> explicitly specifying the provider (openssl). >> > > Even better would be splitting arguments up. There's not much point to > multi-valued arguments, they're just harder to parse/memorize. > If you need a common constructor, use a configuration object instead of a > made-up string format. > > Apart from that, thumbs up on this! > > > -- > <hype> > WWW: plphp.dk / plind.dk > CV: careers.stackoverflow.com/peterlind > LinkedIn: plind > Twitter: kafe15 > </hype> Hi Peter, It's not really a "made-up string format", in the sense that it has a precedent (PDO). Hopefully my response to Lauri makes this design decision seem more reasonable. Regards, Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises <https://paragonie.com>

« previous php.internals (#87600) next »