behash

package
v0.0.0-...-edbb0c7 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

README

behash

package behash provides convenience functions for hashing big-endian things.

Functions

func HashItems

func HashItems(alg crypto.Hash, items ...interface{}) ([]byte, error)

HashItems returns the hash of the concatenation of the given items with the given algorithm. Uses big-endian byte ordering for integral items.


Readme created from Go doc with goreadme

Documentation

Overview

package behash provides convenience functions for hashing big-endian things.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashItems

func HashItems(alg crypto.Hash, items ...interface{}) ([]byte, error)

HashItems returns the hash of the concatenation of the given items with the given algorithm. Uses big-endian byte ordering for integral items.

Types

This section is empty.

Jump to

Keyboard shortcuts

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