- time: documentation ( source)
- hash_hmac: documentation ( source)
<?php
$key = 'bd531c1bab63761c3356eb9aade47c991cdec5db60bd4ccf035bb6fcc8d6e8e3';
$secret = 'c44d2a24965bcb88aaf63f08a79087d3940abc01c8064f72f18060dc07e5f373';
$path = '/network/list';
$nonce = 'ThisIsANonce';
$authorization = "key=" . $key . ",timestamp=" . time("2017-06-30T04:18:32Z") . ",nonce=" . $nonce;
$signature = hash_hmac('sha256', $authorization . $path, $secret);
echo $signature;