security

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptData

func DecryptData(encryptedData string, key []byte) ([]byte, error)

func EncryptData

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

func GenerateEncryptionKey

func GenerateEncryptionKey(password string) []byte

func RetreiveCredentials

func RetreiveCredentials(key string) (string, error)

func StoreCredentials

func StoreCredentials(key, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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