aes

package
v0.0.0-...-0b3308b Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package aes implements the general Cipher interface using AES, SHA2, and HMAC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlockCipher

func NewBlockCipher(key []byte) (cipher.Block, error)

NewBlockCipher creates a conventional AES block cipher.

func NewCipher128

func NewCipher128(key []byte, options ...interface{}) abstract.Cipher

NewCipher128 creates an abstract.Cipher based on the AES-128 block cipher and the SHA2-256 hash algorithm.

func NewCipher192

func NewCipher192(key []byte, options ...interface{}) abstract.Cipher

NewCipher192 creates an abstract.Cipher based on the AES-192 block cipher and the SHA2-384 hash algorithm.

func NewCipher256

func NewCipher256(key []byte, options ...interface{}) abstract.Cipher

NewCipher256 creates an abstract.Cipher based on the AES-256 block cipher and the SHA2-512 hash algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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