Generate a signature

'. ''. 'api key: (use your api key issued to you by Yubico in b64 format): ' . '

'. 'id (your client id):

'. 'otp:

'. ''. ''; exit; } $id = getHttpVal('id', ''); $otp = getHttpVal('otp', ''); $t = getHttpVal('t', ''); $apiKey = base64_decode(getHttpVal('apikey', '')); $a['id']=$id; $a['otp']=$otp; if ($t != '') { $a['t']=$t; } $hmac = sign($a, $apiKey, true); ?>