naclform

package
v0.0.0-...-38e557e Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorInvalidSignature = errors.New("Invalid signature or contents")
View Source
var ErrorShortNonce = errors.New("Nonce too short.")

Functions

This section is empty.

Types

type ServerInfo

type ServerInfo struct {
	SharedKey [32]byte
	ServerID  int
}

func (*ServerInfo) Seal

func (i *ServerInfo) Seal(form url.Values) (url.Values, error)

func (*ServerInfo) Unseal

func (i *ServerInfo) Unseal(form url.Values) (url.Values, error)

Jump to

Keyboard shortcuts

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