aes

package
v0.0.0-...-4f2fe3a Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CBCDecrypt

func CBCDecrypt(ciphertext, key, iv []byte) ([]byte, error)

CBCDecrypt aes cbc 解密

func CBCEncrypt

func CBCEncrypt(plaintext, key, iv []byte) ([]byte, error)

CBCEncrypt aes cbc模式加密 plaintext 需加密的明文 key 加密key, 长度说明:16(aes-128), 24(aes-192), 32(aes-256) iv 密钥偏移量16字节长度

Types

This section is empty.

Jump to

Keyboard shortcuts

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