apikeys

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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