crypto

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: GPL-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESECBDecrypter

type AESECBDecrypter ecb

AESECBDecrypter can decrypt aes ecb.

func NewAESECBDecrypter

func NewAESECBDecrypter(key []byte) (*AESECBDecrypter, error)

NewAESECBDecrypter generates a new AESECBDecrypter

func (*AESECBDecrypter) CryptBlocks

func (d *AESECBDecrypter) CryptBlocks(dst, src []byte)

CryptBlocks encrypts the given array and saves it into dst

func (*AESECBDecrypter) Decypt

func (d *AESECBDecrypter) Decypt(data []byte) ([]byte, error)

Decypt decrpts the given array by using base64decodeing and aes-ecb.

Jump to

Keyboard shortcuts

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