c++ fcgi openssl app for encrypt/decrypt data