siv

package
v0.0.0-...-b87464d Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package siv implements a Synthetic Initialization Vector (SIV) AEAD scheme.

This provides nonce-misuse resistant authenticated encryption (mrAE) and deterministic encryption (DAE) with a two-pass algorithm using a cloned protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(domain string, key []byte, nonceSize int) cipher.AEAD

New returns a new cipher.AEAD instance which uses the given domain string and key.

Panics if nonceSize is less than 16 bytes. A minimum of 16 bytes is required to ensure sufficient uniqueness and security for the nonce values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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