cbc

package
v1.19.22 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 8 Imported by: 17

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 added in v1.9.16

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 added in v1.9.16

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