using the shared secret for hmac-sha1 calculation