diff --git a/sign_demo.php b/sign_demo.php index 11664dd..7c40ac6 100644 --- a/sign_demo.php +++ b/sign_demo.php @@ -6,7 +6,7 @@ require_once 'common.php'; $trace = true; $act = getHttpVal('act', ''); -$apiKey64 = getHttpVal('apikey', 'kNapft02c1a81N4MEMDcC/mgcGc='); +$apiKey64 = getHttpVal('apikey', 'R4LjRyWItBFmmEHOaA+hFn1/AJ4='); if ($act == 'sign_req') { if ($apiKey64 == '') { @@ -35,8 +35,8 @@ if ($act == 'sign_req') { $hmac = sign($a, $apiKey, true); -// echo 'Test submit the request >> '; + echo '
'; } else if ($act == 'sign_resp') { if ($apiKey64 == '') { @@ -63,7 +63,7 @@ if ($act == 'sign_req') { echo 'Generate a request signature'. ' |