base64 encode system -> openssl