Incremental hashing/encryption for PHP via OpenSSL