auth

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AES192Key

type AES192Key []byte

func HashToAES192Key

func HashToAES192Key(c []byte) AES192Key

type Authentication

type Authentication struct {
	RawKeyList   []string
	KeySelectors map[string][]AES192Key
	// contains filtered or unexported fields
}

func NewAuthentication

func NewAuthentication(keys []string) *Authentication

func (*Authentication) Auth

func (a *Authentication) Auth(selector string, authField []byte, additionalData ...[]byte) (bool, AES192Key)

Jump to

Keyboard shortcuts

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