Versions in this module Expand all Collapse all v0 v0.0.3 May 31, 2024 Changes in this version + type Algorithm string + const MD5 + const SHA1 + const SHA256 + func (a Algorithm) String() string + type Digest string + func CalcSHA1(r io.ReadSeeker) (Digest, error) + func CalcSHA256(r io.ReadSeeker) (Digest, error) + func NewDigest(alg Algorithm, h hash.Hash) Digest + func NewDigestFromString(alg Algorithm, h string) Digest + func (d Digest) Algorithm() Algorithm + func (d Digest) Encoded() string + func (d Digest) String() string