Re: PHP 7.1 Cryptography Projects

From: Date: Tue, 04 Aug 2015 08:26:37 +0000
Subject: Re: PHP 7.1 Cryptography Projects
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-87595@lists.php.net to get a copy of this message
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>

« previous php.internals (#87595) next »