digest

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompoundID added in v0.1.6

func CompoundID(things ...any) string

func Equal

func Equal(names ...string) (bool, error)

func FileSHA256Hex

func FileSHA256Hex(name string) (string, error)

FileSHA256Hex calculates the SHA256 sum of file and returns it as a hex string.

func FilesSHA256Hex

func FilesSHA256Hex(names ...string) ([]string, error)

func ID added in v0.1.6

func ID[T any](thing T) string

func JSONSHA256Hex

func JSONSHA256Hex(a any) (string, error)

func SHA256Hex

func SHA256Hex(r io.Reader) (string, error)

func SHA256HexStrings

func SHA256HexStrings(s ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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