encryption

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encryptedData []byte) ([]byte, error)

func Encrypt

func Encrypt(data []byte) ([]byte, error)

func GenerateEncryptionKey

func GenerateEncryptionKey() (string, error)

func SetEncryptionKey

func SetEncryptionKey(key []byte)

SetEncryptionKey sets the encryption key manually

func ValidateEncryptionKey

func ValidateEncryptionKey() ([]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