Re: [PHP-DEV] Extension news: cryptopp

2002-05-03 Thread derick

Hello,

I read some of the documentation, and noticed that this API seems to be 
very usable for an abstraction to multiple encryption libraries. It even 
looks a lot like the API I had in mind for the revamped mcrypt extension.

Would you be interested in figuring the best way to do it, so that we have 
a nice crypto API for PHP 5?

regards,
Derick

On Thu, 2 May 2002, J Smith wrote:

 
 Just thought I'd give an update about the current status of the Crypto++ 
 extension for PHP I've been working on the past month or two, called simply 
 cryptopp.
 
 The extension is coming along rather nicely and is stablizing towards a 
 solid release. I'd still consider the current releases of beta quality and 
 not to be trusted with 100% confidence, although I have not had a problem 
 yet. (As more users try out the extension, I'll get a better idea of how 
 well it's working, but I need feedback, which sadly has been slow-coming.)
 
 The good stuff:
 
 - Works on a bunch of platforms, including both UNIX platforms (Solaris 8 
 and linux tested; others should work if gcc/g++ work) and Windows platforms 
 (Windows 2000 with VC++ 6 tested). Hopefully this will be of use to Windows 
 PHP users, as I don't believe the win32 port of the libmcrypt libraries are 
 being maintained anymore.
 
 - The extension implements 32 cryptographic ciphers (27 block ciphers, 5 
 stream ciphers), 14 cryptographic hashes and two checksum hashes. (CRC32 is 
 included for completeness, even though there is already a CRC32 function in 
 PHP.) 
 
 - There is some compatibility with the mcrypt and mhash extensions. I 
 haven't tested everything, but there are at least a few algorithms common 
 to each that can produce compatible ciphertext.
 
 - There's a set of C bindings to the extension that you can use in other 
 extensions. I guess. I had originally used the C bindings in the extension 
 itself until I wised up. I left them there for others to use if they really 
 want to. (The extension is written in C++, so the C bindings were 
 originally to make using the C++ classes from PHP's C code easier.)
 
 
 The bad:
 
 - produces a big-ass executable when statically linked with PHP. My current 
 Apache executable went from 3.3 MB or so to 5.3 MB after enabling the 
 extension. VC++ 6 produces a DLL of 430 KB or so. This is 'cause unlike 
 mcrypt and mhash there's no dynamic loading of ciphers or hashes. (Yet -- I 
 may work on this later.)
 
 - there's no way to pick and choose which ciphers or hashes you'd like to 
 compile in with the extension -- it's all or nothing. I'm also planning on 
 working on this later.
 
 
 The latest version of the extension is 0.0.5. There were a few changes from 
 the original version, 0.0.1, which are listed in the docs. To play around 
 with the extension, head to http://www.tutorbuddy.com/software/. (Mirrored 
 at http://209.202.82.229/software/.)
 
 J
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 

---
 Did I help you? http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
 Frequent ranting: http://www.jdimedia.nl/derick/
---
 PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Extension news: cryptopp

2002-05-03 Thread J Smith


I can definitely look into it, although I can't guarantee any results yet, 
as we're about to go back into heavy development of a new app at work 
(which uses the extension), but hopefully I'll get some free time to put 
towards it. I'll let you know how things are in two weeks or so; I should 
have a bit of a clue by then as to how things are going to be with the new 
app.

J


[EMAIL PROTECTED] wrote:

 Hello,
 
 I read some of the documentation, and noticed that this API seems to be
 very usable for an abstraction to multiple encryption libraries. It even
 looks a lot like the API I had in mind for the revamped mcrypt extension.
 
 Would you be interested in figuring the best way to do it, so that we have
 a nice crypto API for PHP 5?
 
 regards,
 Derick
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php