cryptoutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESCBCDecrypt

func AESCBCDecrypt(content []byte, key []byte, iv []byte) []byte

func AESCBCEncrypt

func AESCBCEncrypt(content []byte, key []byte, iv []byte) []byte

func Base64Decrypt

func Base64Decrypt(content string) []byte

func Base64Encrypt

func Base64Encrypt(content []byte) string

func DecryptConfigHandler

func DecryptConfigHandler(content string, key string) string

func EncryptConfigHandler

func EncryptConfigHandler(content string, key string) string

func HmacMD5

func HmacMD5(key string, data []byte) string

func HmacSHA1

func HmacSHA1(key string, data []byte) string

func MD5Encrypt

func MD5Encrypt(content []byte) string

func SHA1Encrypt

func SHA1Encrypt(content []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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