hash

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForFile

func ForFile(filename string, hasher hash.Hash) (string, error)

ForFile returns the hex-encoded hash for the provided filename and hasher.

func SHA256ForFile

func SHA256ForFile(filename string) (string, error)

SHA256ForFile returns the hex-encoded sha256 hash for the provided filename.

func SHA512ForFile

func SHA512ForFile(filename string) (string, error)

SHA512ForFile returns the hex-encoded sha512 hash for the provided filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL