hashutil

package
v0.0.0-...-a928b6f Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package hashutil contains misc hashing functions lacking homes elsewhere.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA1Prefix

func SHA1Prefix(data []byte) string

SHA1Prefix computes the SHA-1 digest of data and returns its first twenty lowercase hex digits.

func SHA256Prefix

func SHA256Prefix(data []byte) string

SHA256Prefix computes the SHA-256 digest of data and returns its first twenty lowercase hex digits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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