hashing

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringMD5

func StringMD5(a string) string

StringMD5 returns the MD5 hash of a string as a hex-encoded string.

func StringSHA256

func StringSHA256(a string) string

StringSHA256 returns the SHA256 hash of a string as a hex-encoded string.

See https://michaelpeters.dev/posts/hashes-and-strings/ for performace notes.

func StringSHA512

func StringSHA512(a string) string

StringSHA512 returns the SHA512 hash of a string as a hex-encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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