hash

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package hash provides hash implementations used for digital signature of messages sent to a Fabric network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA256

func SHA256(message []byte) []byte

SHA256 hash the supplied message bytes to create a digest for signing.

Types

type Hash

type Hash = func(message []byte) []byte

Hash function generates a digest for the supplied message.

Jump to

Keyboard shortcuts

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