cryptor

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecryptCBC

func AESDecryptCBC(encrypted []byte, key []byte) (retEncrypted []byte, retErr error)

func AESEncryptCBC

func AESEncryptCBC(origData []byte, key []byte) (retEncrypted []byte, retErr error)

func ComputeHmacSha256

func ComputeHmacSha256(message []byte, secret []byte) (string, string)

func HmacKeyToString

func HmacKeyToString(hmacKey []byte) string

func StringToHmacKey

func StringToHmacKey(keyStr string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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