On 4 August 2015 at 10:13, Lauri Kenttä <lauri.ken...@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>