Hi,

> Added this to all my builds, including PHP 5.3 (based on the Aug 20
> snapshot):
> http://www.apachelounge.com/viewtopic.php?t=5537
>
>
That's great! Thanks a lot!

I would like to correct myself about using GCM and CCM in PHP. These modes
are available for encryption/decryption but there is no way how to get an
authentication tag. That's a bit problem as it doesn't make sense to use
gcm or ccm if you can't get a tag... On top of it the AAD (Additional
Authentication Data) can't be set either...

I decided to fix that in php-crypto. I have created an issue about PHP API
for this modes: https://github.com/bukka/php-crypto/issues/4 . There are
two ideas how the API could be designed. It would be very helpful for me to
get any feedback as it could result in more usable API.

There also are two other issues in
https://github.com/bukka/php-crypto/issues . The first is about API for
Algorithm class and the second is about choosing a name for the method that
create a digest in one step (currenty Digest::make that is not really
explaining...). All issues are just about PHP user interface for this
extension (there is nothing about internal C implementation).

In addition if anyone knows about any objective crypto library that he used
in past and thinks that some ideas could be used in this extension, please
let me know. I was looking to Zend\Crypt and also plan to properly look to
crypto++.

Thanks

Jakub

Reply via email to