hashutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package hashutil provides utilities for hash.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeHash

func ComputeHash(hash crypto.Hash, message []byte) ([]byte, error)

ComputeHash computes the digest of the message with the given hash algorithm. Callers should check the availability of the hash algorithm before invoking.

Types

This section is empty.

Jump to

Keyboard shortcuts

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