cipher

package
v0.0.0-...-34d48bb Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cipher implements additional block cipher modes that can be wrapped around low-level block cipher implementations. For standard block cipher modes see: https://golang.org/pkg/crypto/cipher

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEAX

func NewEAX(c cipher.Block, tagsize int) (cipher.AEAD, error)

NewEAX returns a cipher.AEAD wrapping the cipher.Block. EAX is a two pass-scheme AEAD cipher with provable security. For authentication EAX uses CMac (OMAC1). The tagsize argument specifies the number of bytes of the auth. tag and must be between 1 and the block size of the cipher. This function returns a non-nil error if the given block cipher is not supported by CMac (see crypto/cmac for details)

Types

This section is empty.

Jump to

Keyboard shortcuts

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