cbc

package
v0.0.0-...-1225d9a Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 8 Imported by: 0

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