Versions in this module Expand all Collapse all v1 v1.0.6 Nov 9, 2017 Changes in this version + var ErrMatch = errors.New("multihash checksums did not match") + var FlagValues = struct{ ... } + func Decode(encoding, digest string) (mh.Multihash, error) + func Encode(encoding string, hash mh.Multihash) (string, error) + type Options struct + Algorithm string + AlgorithmCode uint64 + Encoding string + Length int + func SetupFlags(f *flag.FlagSet) *Options + func (o *Options) Check(r io.Reader, h1 mh.Multihash) error + func (o *Options) Multihash(r io.Reader) (mh.Multihash, error) + func (o *Options) Parse(args []string) error + func (o *Options) ParseError() error