Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68621 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56689 invoked from network); 24 Aug 2013 22:18:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2013 22:18:23 -0000 X-Host-Fingerprint: 94.157.251.198 unknown Received: from [94.157.251.198] ([94.157.251.198:29733] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/27-05399-D2139125 for ; Sat, 24 Aug 2013 18:18:22 -0400 To: internals@lists.php.net Date: Sun, 25 Aug 2013 00:18:10 +0200 Message-ID: References: <505B2CA7.6050505@codeangel.org> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 94.157.251.198 Subject: Re: [PHP-DEV] Authenticated Encryption in PHP From: phpdev@ehrhardt.nl (Jan Ehrhardt) Jakub Zelenka in php.internals (Sat, 24 Aug 2013 20:16:21 +0100): >However the current php openssl extension is not very nice. It's missing >lots of features and functions supported in OpenSSL lib. The API is only >functional and the implementation is not great. > >I decided to create a new objective binding for OpenSSL crypto lib. It's >available on https://github.com/bukka/php-crypto . The extension is in >development and only few features are available. Currently there are two >usable classes Crypt\Cipher and Crypto\Digest. They are sort of context >wrappers that have support for init / update / final methods. Please see >the API doc and examples in README for more details. This looks like a promising extension. For the die-hard Windows lovers I managed to compile it as php_crypto.dll. It is inside my latest PHP 5.4.9 build: https://dl.dropboxusercontent.com/u/8954372/php-5.4.19-nts-Win32-VC9-x86.zip I will add the extension to my list of extensions, so any future build will have it as well (after a git pull). See my builds at http://www.apachelounge.com/viewforum.php?f=6 Jan