shautil

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum256String added in v0.40.0

func Sum256String(s string) string

Sum256String takes an input string and returns the hexadecimal hash value. It is equivalent to `echo -n "input" | shasum -a 256` on macOS.

func Sum512d224Base32

func Sum512d224Base32(r io.Reader, padding rune) (string, error)

func Sum512d224Base32Bytes

func Sum512d224Base32Bytes(b []byte, padding rune) string

func Sum512d224Base32File

func Sum512d224Base32File(name string, padding rune) (string, error)

func Sum512d224Base32String

func Sum512d224Base32String(s string, padding rune) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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