cbc

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key, ciphertext []byte) ([]byte, error)

Decrypt 使用AES-CBC模式和给定的密钥对密文进行解密

func Encrypt

func Encrypt(key, plaintext []byte) ([]byte, error)

Encrypt 使用AES-CBC模式和给定的密钥对明文进行加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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