cbc

package
v2.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

Decrypt aes cbc解密

func DecryptFromString

func DecryptFromString(encrypt string, key []byte) (string, error)

Decrypt aes cbc解密

func Encrypt

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

Encrypt aes cbc加密

func EncryptToString

func EncryptToString(plan string, key []byte) (string, 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