hashtype

package
v0.0.0-...-bfb5a2a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknown = fmt.Errorf("unknown hash variant")
)

Functions

This section is empty.

Types

type Type

type Type string
const (
	Unknown Type = ""
	MD5     Type = "md5"
	SHA1    Type = "sha1"
	SHA256  Type = "sha256"
	SHA512  Type = "sha512"
	TLSH    Type = "tlsh"
)

func Detect

func Detect(hash string) Type

Jump to

Keyboard shortcuts

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