Data encryption with OpenSSL in PHP