- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReadCheckSums (0.14 sec)
-
internal/hash/checksum.go
raw := h.Sum(nil) c := Checksum{Type: t, Encoded: base64.StdEncoding.EncodeToString(raw), Raw: raw} if !c.Valid() { return nil } return &c } // ReadCheckSums will read checksums from b and return them. func ReadCheckSums(b []byte, part int) map[string]string { res := make(map[string]string, 1) for len(b) > 0 { t, n := binary.Uvarint(b) if n < 0 { break } b = b[n:]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/encryption-v1.go
if err != nil { if err != crypto.ErrSecretKeyMismatch { encLogIf(GlobalContext, err) } return nil } data = decrypted } return hash.ReadCheckSums(data, part)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0)