aes

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryContentWithAESCBC added in v1.2.0

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

AES-CBC 解密

func DecryContentWithAESGCM added in v1.2.0

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

AES-GCM 解密

func EncryContentWithAESCBC added in v1.2.0

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

AES-CBC 加密

func EncryContentWithAESGCM added in v1.2.0

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

AES-GCM 加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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