utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

Decrypt decrypts data using AES-GCM with a machine-specific key

func Encrypt

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

Encrypt encrypts data using AES-GCM with a machine-specific key

func GetOSConfigDir

func GetOSConfigDir() string

GetOSConfigDir is used to get the path of the config directory based on the operating system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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