aead_chacha20poly1305

package
v0.0.0-...-cb92b4e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheme

type Scheme struct{}

func (Scheme) OpenK256N192

func (s Scheme) OpenK256N192(dst []byte, key *[32]byte, nonce *[24]byte, ctext, ad []byte) error

func (Scheme) OpenK256N64

func (s Scheme) OpenK256N64(dst []byte, key *[32]byte, nonce [8]byte, ctext, ad []byte) error

func (Scheme) OpenSUV256

func (s Scheme) OpenSUV256(dst []byte, suv *[32]byte, ctext, ad []byte) error

func (Scheme) Overhead

func (s Scheme) Overhead() int

func (Scheme) SealK256N192

func (s Scheme) SealK256N192(dst []byte, key *[32]byte, nonce *[24]byte, ptext, ad []byte)

func (Scheme) SealK256N64

func (s Scheme) SealK256N64(dst []byte, key *[32]byte, nonce [8]byte, ptext, ad []byte)

func (Scheme) SealSUV256

func (s Scheme) SealSUV256(dst []byte, suv *[32]byte, ptext, ad []byte)

Jump to

Keyboard shortcuts

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