Versions in this module Expand all Collapse all v1 v1.1.4 Jun 18, 2024 v1.1.3 Jun 14, 2024 v1.1.2 May 21, 2024 v1.1.1 May 21, 2024 v1.1.0 May 20, 2024 Changes in this version type GenericHash + DurationStr string type Hashes + Duration int64 + DurationStr string v1.0.5 May 20, 2024 v1.0.4 May 20, 2024 v1.0.3 May 17, 2024 Changes in this version + type Blake struct + Blake2b256 string + Blake2b384 string + Blake2b512 string + Blake2s256 string type Hashes + Blake Blake v1.0.2 May 17, 2024 v1.0.1 May 16, 2024 v1.0.0 May 16, 2024 Changes in this version + const BufferSize + func ComputeHashList() []string + func NewMD2() hash.Hash + type CRC struct + CRC32Castagnoli string + CRC32IEEE string + CRC32Koopman string + CRC64ECMA string + CRC64IOS string + type FNV struct + FNV32 string + FNV32a string + FNV64 string + FNV64a string + type GenericHash struct + Duration time.Duration + HashBytes []byte + HexDigest string + Input []byte + func ComputeHash(data []byte, hashType string, file bool) (*GenericHash, error) + func Hash(data []byte, hash hash.Hash) *GenericHash + func HashFile(path string, hash hash.Hash) (*GenericHash, error) + type HasherArray struct + Hash string + Type string + type Hashes struct + Adler32 string + CRC CRC + FNV FNV + MD4 string + MD5 string + SHA1 string + SHA2 SHA2 + SHA3 SHA3 + func HasherMulti(b []byte) (Hashes, error) + func HasherMultiFile(path string) (Hashes, error) + func (h Hashes) Array() []HasherArray + type SHA2 struct + SHA224 string + SHA256 string + SHA384 string + SHA512 string + SHA512_224 string + SHA512_256 string + type SHA3 struct + SHA256 string + SHA512 string + Shake128 string + Shake256 string