Standard library imports encoding/hex encoding/json errors fmt io/ioutil log crypto/sha512 crypto/hmac net/http/httputil net/http strconv strings time