crypto

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preload

func Preload() lua.LValue

Types

type Aes

type Aes struct {
	Key  string `lua:"key"`
	Iv   string `lua:"iv"`
	Mode string `lua:"mode"`
	AAD  string `lua:"aad"`
}

func (*Aes) AssertFunction

func (a *Aes) AssertFunction() (*lua.LFunction, bool)

func (*Aes) Index

func (a *Aes) Index(L *lua.LState, key string) lua.LValue

func (*Aes) String

func (a *Aes) String() string

func (*Aes) Type added in v0.5.0

func (a *Aes) Type() lua.LValueType

type Crypto

type Crypto struct {
	// contains filtered or unexported fields
}

func (*Crypto) AssertFunction

func (c *Crypto) AssertFunction() (*lua.LFunction, bool)

func (*Crypto) Index

func (c *Crypto) Index(L *lua.LState, key string) lua.LValue

func (*Crypto) String

func (c *Crypto) String() string

func (*Crypto) Type added in v0.5.0

func (c *Crypto) Type() lua.LValueType

type Hash

type Hash struct{}

func (*Hash) AssertFunction

func (h *Hash) AssertFunction() (*lua.LFunction, bool)

func (*Hash) Index

func (h *Hash) Index(L *lua.LState, key string) lua.LValue

func (*Hash) String

func (h *Hash) String() string

func (*Hash) Type added in v0.5.0

func (h *Hash) Type() lua.LValueType

Jump to

Keyboard shortcuts

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