Popularity
4.2
Growing
Activity
0.0
Stable
98
3
17

Programming language: Go
License: MIT License
Tags: Files    
Latest version: v1.1.0

checksum alternatives and similar packages

Based on the "Files" category.
Alternatively, view checksum alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of checksum or a related project?

Add another 'Files' Package

README

checksum

PkgGoDev Go Report Card test coverage

Compute message digest, like MD5, SHA256 or SHA1, in Golang for potentially large files.

Usage

package main

import (
    "fmt"
    "github.com/codingsince1985/checksum"
)

func main() {
    file := "/home/jerry/Downloads/ubuntu-20.04.2.0-desktop-amd64.iso"

    md5, _ := checksum.MD5sum(file)
    fmt.Println(md5)

    sha256, _ := checksum.SHA256sum(file)
    fmt.Println(sha256)

    sha1, _ := checksum.SHA1sum(file)
    fmt.Println(sha1)
}

License

checksum is distributed under the terms of the MIT license. See LICENSE for details.


*Note that all licence references and agreements mentioned in the checksum README section above are relevant to that project's source code only.