sha1_128

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2020 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Overview

SHA-1 128 is a 128-bit or 16 byte hash of the SHA-1 This is a MD5 equivalent SHA1 function and tests wrapping the hashes this is an example of a write your own signature to add to mdencode

Index

Constants

View Source
const BlockSize = 64

The blocksize of SHA-1 in bytes.

View Source
const SHA1_128 = 128
View Source
const Size = 16

The size of a SHA-1 checksum in bytes.

Variables

This section is empty.

Functions

func New

func New(params ...int) hash.Hash

New returns a new hash.Hash computing the SHA1 checksum. The Hash also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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