HMAC-SHA256使用一次性接口 key="key"data="message-to-be-authenticated"mac=OpenSSL::HMAC.hexdigest("SHA256",key