i am having some problems using pack() in php
$currencypair = \"EUR/USD\"; $buy_sell = \"buy\"; $alert_device_token =array(\"a\",\"a\",\"b\"); $message = \"
Use strtr(rtrim(base64_encode(pack('H*', sprintf('%u', $algo($data)))), '='), '+/', '-_') insted of using pack('H*', $value).
strtr(rtrim(base64_encode(pack('H*', sprintf('%u', $algo($data)))), '='), '+/', '-_')
pack('H*', $value)