hash

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package hash contains convenience functions for calculating hashes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMD5Sum

func GetMD5Sum(key interface{}) (string, error)

GetMD5Sum calculates md5Sum for any given interface{}. Passing a nil pointer to GetMD5Sum will panic, as they cannot be transmitted by gob.

func GetSHAString

func GetSHAString(rdata string) string

GetSHAString returns a sha1 from the string

Types

This section is empty.

Jump to

Keyboard shortcuts

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