sha384

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(b []byte) (*digest.Digest, error)

Bytes hashes the byte slice

func File

func File(path string) (*digest.Digest, error)

File returns the SHA256 digest of the file

func HashToDigest

func HashToDigest(h hash.Hash) (*digest.Digest, error)

HashToDigest returns a SHA384 digest for a hash.Hash

func Sum

func Sum(digests []*digest.Digest) (*digest.Digest, error)

Sum aggregates multiple digests to a single SHA384 one

Types

This section is empty.

Jump to

Keyboard shortcuts

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