common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeEncryptionKey

func DecodeEncryptionKey(key string) ([]byte, error)

func DecryptBytes

func DecryptBytes(key []byte, cipherText []byte) ([]byte, error)

func EncodeEncryptionKey

func EncodeEncryptionKey(key []byte) string

func EncryptBytes

func EncryptBytes(key []byte, plainText []byte) ([]byte, error)

func GenerateEncryptionKey

func GenerateEncryptionKey() ([]byte, error)

func HashEncryptionKey

func HashEncryptionKey(key []byte) (string, error)

func NewID

func NewID() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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