Imports github.com/decred/dcrd/dcrutil/v3 github.com/decred/dcrd/dcrec github.com/decred/dcrd/wire github.com/decred/dcrd/dcrec/secp256k1/v3 github.com/decred/slog github.com/aead/chacha20 Standard library imports crypto/hmac crypto/sha256 bufio bytes crypto/rand encoding/binary errors fmt io math/big