siv

package module
v0.0.0-...-9a37382 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

This project is deprecated and is no longer being actively maintained. Consider using miscreant.go instead.


siv

A pure Go implementation of of the SIV-CMAC AEAD as described in RFC 5297. SIV-CMAC does not require a nonce, allowing for both deterministic and resistance to nonce re- or misuse.

Documentation

Overview

Package siv provides an implementation of the SIV-CMAC AEAD as described in RFC 5297. SIV-CMAC does not require a nonce, allowing for both deterministic encryption and resistance to nonce re- or misuse.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(key []byte, alg func([]byte) (cipher.Block, error)) (cipher.AEAD, error)

New returns a new SIV AEAD with the given key and encryption algorithm. The key must be twice the key size of the underlying algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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