aes

package
Version: v0.0.0-...-926964d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2016 License: MIT, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package aes contains provides AES Key Wrap and ECB mode implementations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyUnwrap

func KeyUnwrap(encryptedCek, kek []byte) ([]byte, error)

KeyUnwrap decrypts previously encrypted key (CEK) with KEK key using AES Key Wrap (rfc 3394) algorithm

func KeyWrap

func KeyWrap(cek, kek []byte) ([]byte, error)

KeyWrap encrypts provided key (CEK) with KEK key using AES Key Wrap (rfc 3394) algorithm

func NewECBDecrypter

func NewECBDecrypter(b cipher.Block) cipher.BlockMode

NewECBDecrypter creates BlockMode for AES decryption in ECB mode

func NewECBEncrypter

func NewECBEncrypter(b cipher.Block) cipher.BlockMode

NewECBEncrypter creates BlockMode for AES encryption in ECB mode

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL