sha1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exports = map[string]interface{}{
	"_name":  "crypto/sha1",
	"new":    sha1.New,
	"sum":    sha1.Sum,
	"sumstr": Sumstr,

	"New":    sha1.New,
	"Sum":    sha1.Sum,
	"Sumstr": Sumstr,

	"BlockSize": sha1.BlockSize,
	"Size":      sha1.Size,
}

Exports is the export table of this module.

Functions

func Sumstr

func Sumstr(b []byte) string

Sumstr is hex.EncodeToString(sha1.Sum(b)).

Types

This section is empty.

Jump to

Keyboard shortcuts

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