Standard library imports context crypto/rand crypto/sha256 encoding/hex encoding/json errors fmt math net/http os path/filepath strings sync time io/fs slices