aeadcell

package
v0.0.0-...-36bb858 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MinNonceSize = 20

Variables

This section is empty.

Functions

func New

func New(inner cells.BytesCell, aead cipher.AEAD) cells.BytesCell

New creates a new cell using AEAD using secret and then calls NewAEAD with it.

Types

type Cell

type Cell struct {
	cells.Cell[[]byte]
	// contains filtered or unexported fields
}

func (*Cell) MaxSize

func (c *Cell) MaxSize() int

Jump to

Keyboard shortcuts

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