crypto

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAesL

func NewAesL(L *lua.LState) int

func Preload

func Preload(L *lua.LState) lua.LValue

Types

type Aes

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

	AAD string `lua:"aad"`
	// contains filtered or unexported fields
}

func (*Aes) AssertFunction

func (a *Aes) AssertFunction() lua.LGFunction

func (*Aes) DecryptL

func (a *Aes) DecryptL(L *lua.LState) int

func (*Aes) EncryptL

func (a *Aes) EncryptL(L *lua.LState) int

func (*Aes) Index

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

func (*Aes) MetatableName

func (a *Aes) MetatableName() string

func (*Aes) String

func (a *Aes) String() string

type Crypto

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

func (*Crypto) AssertFunction

func (c *Crypto) AssertFunction() lua.LGFunction

func (*Crypto) Index

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

func (*Crypto) MetatableName

func (c *Crypto) MetatableName() string

func (*Crypto) String

func (c *Crypto) String() string

type Hash

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

func (*Hash) AssertFunction

func (h *Hash) AssertFunction() lua.LGFunction

func (*Hash) Index

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

func (*Hash) MetatableName

func (h *Hash) MetatableName() string

func (*Hash) String

func (h *Hash) String() string

Jump to

Keyboard shortcuts

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