Standard library imports encoding/hex crypto/sha1 encoding/json fmt io/ioutil math/rand net/http time