apikeys

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualsKeyHashFromApi

func EqualsKeyHashFromApi(key string, keyHashFromApi string) bool

Helper function that compares a key with a hash gotten from the API

func GenerateRandomKey

func GenerateRandomKey() string

func HashKey

func HashKey(key string) string

returns the SHA-256 hash of a given key as a hexadecimal string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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