cbc

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Sep 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 added in v0.0.21

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 v0.0.21

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