I\'ve wrote the below code snippet that passes a string to openssl by echo\'ing, using popen; however the result is different than if I manually pass the arguments in PowerS