hashutil

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BCryptHash

func BCryptHash(s string) string

func HalfHash

func HalfHash(claim string, alg goidc.SignatureAlgorithm) string

TODO: How to handle the none algorithm?

func HashAlg added in v0.6.0

func HashAlg(alg goidc.SignatureAlgorithm) crypto.Hash

func Thumbprint

func Thumbprint(s string) string

Thumbprint generates a base64 URL-encoded SHA-256 hash (thumbprint) of a given string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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