hashutil

package
v0.0.0-...-55f04e3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2016 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