I try to implement this bash command in PHP without success :
password='echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64'
I tried the openssl_digest and openssl_encrypt without success. I don't understand the order of the parameters...
Could you help me to generate the expected command in PHP ?
Thanks for your help !