Standard library imports bytes crypto/hmac crypto/sha512 encoding/hex encoding/json fmt io/ioutil log math/rand net/http net/url strings time