Help us shape the future of Go! Take the 2026 Go Developer Survey

hash

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(filePath string) (string, error)

File hashes a given file to a sha256 string.

func String

func String(s string) string

String hashes a given string to a sha256 string.

func StringToNumber

func StringToNumber(s string) uint32

StringToNumber hashes a given string to a number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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