psk

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PSKSize = 32
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PSK

type PSK [PSKSize]byte

func GeneratePSK

func GeneratePSK() (PSK, error)

func (*PSK) AsHexString

func (psk *PSK) AsHexString() string

func (*PSK) AsSlice

func (psk *PSK) AsSlice() []byte

func (*PSK) FromHexString

func (psk *PSK) FromHexString(s string) error

func (*PSK) MarshalYAML

func (psk *PSK) MarshalYAML() (interface{}, error)

func (*PSK) String

func (psk *PSK) String() string

func (*PSK) UnmarshalYAML

func (psk *PSK) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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