aes

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CBCDecrypt

func CBCDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CBCDecrypt AES的CBC模式解密

func CBCEncrypt

func CBCEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CBCEncrypt AES的CBC模式加密

func CFBDecrypt

func CFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CFBDecrypt AES的CFB模式解密

func CFBEncrypt

func CFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CFBEncrypt AES的CFB模式加密

func CTRDecrypt

func CTRDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CTRDecrypt AES的CTR模式解密

func CTREncrypt

func CTREncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

CTREncrypt AES的CTR模式加密

func ECBDecrypt

func ECBDecrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)

ECBDecrypt AES的ECB模式解密

func ECBEncrypt

func ECBEncrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)

ECBEncrypt AES的ECB模式加密

func OFBDecrypt

func OFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

OFBDecrypt AES的OFB模式解密

func OFBEncrypt

func OFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)

OFBEncrypt AES的OFB模式加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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