aes

package
v1.3.28 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptCBC5

func DecryptCBC5(ciphertext, key, iv string) (str string, err error)

DecryptCBC5 解密

func DecryptCBC5Bytes

func DecryptCBC5Bytes(ciphertext, key, iv string) (str []byte, err error)

DecryptCBC5Bytes 解密

func DecryptCBC7

func DecryptCBC7(ciphertext string, key []byte) (string, error)

DecryptCBC7 解密

func EncryptCBC5

func EncryptCBC5(plaintext []byte, key, iv string) (string, error)

EncryptCBC5 加密

func EncryptCBC5Bytes

func EncryptCBC5Bytes(plaintext []byte, key, iv string) ([]byte, error)

EncryptCBC5Bytes 加密

func EncryptCBC7

func EncryptCBC7(plaintext []byte, key []byte) (string, error)

EncryptCBC7 加密

func PKCS5Padding

func PKCS5Padding(cipherText []byte, blockSize int) []byte

* PKCS5包装

func PKCS5Trimming

func PKCS5Trimming(encrypt []byte) []byte

解包装

Types

This section is empty.

Jump to

Keyboard shortcuts

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