Re: [PHP-DEV] Authenticated Encryption in PHP

2013-08-28 Thread Jakub Zelenka
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 i

Re: [PHP-DEV] Authenticated Encryption in PHP

2013-08-28 Thread Jan Ehrhardt
Jan Ehrhardt in php.internals (Sun, 25 Aug 2013 00:18:10 +0200): >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 Added this to all my builds, including PHP 5.3 (based o

Re: [PHP-DEV] Authenticated Encryption in PHP

2013-08-24 Thread 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 objecti

Re: [PHP-DEV] Authenticated Encryption in PHP

2013-08-24 Thread Jakub Zelenka
Hi, I am currently looking for an aes-gcm impl in PHP, and contemplating > building my own openssl wrapper to expose access. > You can actually use aes-256-gcm or its 128 and 192 variants (check openssl_get_cipher_methods). GCM is a cipher mode so you can use it in openssl_encrypt and openssl_dec

Re: [PHP-DEV] Authenticated Encryption in PHP

2013-08-22 Thread John Goodwin
Yahav Gindi Bar gmail.com> writes: > > To be honest, I've thought about it today and think that it could be great! > :) I'd love to help if it's possible in any way I can :) > > On Thu, Sep 20, 2012 at 5:48 PM, Chad Emrys codeangel.org> wrote: > > I was wondering how difficult it would be to

Re: [PHP-DEV] Authenticated Encryption in PHP

2012-09-20 Thread Yahav Gindi Bar
To be honest, I've thought about it today and think that it could be great! :) I'd love to help if it's possible in any way I can :) On Thu, Sep 20, 2012 at 5:48 PM, Chad Emrys wrote: > Hello, > > I was wondering how difficult it would be to add access to a standard > authenticated encryption mo

[PHP-DEV] Authenticated Encryption in PHP

2012-09-20 Thread Chad Emrys
Hello, I was wondering how difficult it would be to add access to a standard authenticated encryption mode in openssl. I was looking and trying to figure out how to do this in PHP, seems you have to do it the old fashioned way that's way too prone to error, basically encrypt and mac yourself