hash

package
v0.0.0-...-b60358c Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSha256

func NewSha256() hash.Hash

NewSha256 returns a new `hash.Hash` computing the SHA2-256 checksum.

func NewSha512

func NewSha512() hash.Hash

NewSha512 returns a new `hash.Hash` computing the SHA2-512 checksum.

func SHA512

func SHA512(data []byte) []byte

SHA512 returns the SHA2-512 checksum of the data.

func Sha256

func Sha256(data []byte) []byte

Sha256 returns the SHA2-256 checksum of the data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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