util

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HDigestFromSHA

func HDigestFromSHA(algorithm string, digest string) (string, error)

HDigestFromSHA converts an algorithm, such sha256 with a hex encoded digest to a h# value such as h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=

func HDigestToSHA

func HDigestToSHA(digest string) (string, string, error)

HDigestToSHA converts a h# digest, such as h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= to an algorithm such as sha256 and a hex encoded digest

Types

This section is empty.

Jump to

Keyboard shortcuts

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