aesgcm

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNonceSizeToSmall = errors.New("given nonce size is smaller than the requirement")
)

Functions

This section is empty.

Types

type Crypter

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

The Crypter instance

func (*Crypter) Decrypt

func (c *Crypter) Decrypt(input licrypt.HexStr) ([]byte, error)

func (*Crypter) Encrypt

func (c *Crypter) Encrypt(input []byte) (licrypt.HexStr, error)

func (*Crypter) Init

func (c *Crypter) Init(key []byte) (*Crypter, error)

Jump to

Keyboard shortcuts

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