Hi, I would like to propose an addition to the openssl ext - extending openssl_encrypt and openssl_decrypt to support AEAD (Authenticated Encryption with Additional Data - GCM and CCM modes support). There was some discussion in past and people have been asking about that for some time so I finally finished the implementation (it's more or less rewrite of both functions) and created this RFC to discuss all concerns if there are any...
https://wiki.php.net/rfc/openssl_aead Cheers Jakub