mgm

package
v1.0.5007 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMGM

func NewMGM(cipher cipher.Block) (cipher.AEAD, error)

Types

type MGM

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

func (*MGM) NonceSize

func (mgm *MGM) NonceSize() int

func (*MGM) Open

func (mgm *MGM) Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error)

func (*MGM) Overhead

func (mgm *MGM) Overhead() int

func (*MGM) Seal

func (mgm *MGM) Seal(dst, nonce, plaintext, additionalData []byte) []byte

Jump to

Keyboard shortcuts

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