hash

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 3

README

Hash

provides easy utilities for hashing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(file *os.File, hash hash.Hash) []byte

func String

func String(data string, hash hash.Hash) []byte

Types

type Hasher

type Hasher interface {
	String(data string) []byte
	File(f *os.File) []byte
	Format() hashenum.HashEnum
}

Directories

Path Synopsis
Code generated by go generate This file was generated by robots at 2018-05-01 19:35:01.447367847 +0000 UTC
Code generated by go generate This file was generated by robots at 2018-05-01 19:35:01.447367847 +0000 UTC

Jump to

Keyboard shortcuts

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