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 ¶
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.
Click to show internal directories.
Click to hide internal directories.