utils

package
v0.0.0-...-95adb3f Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptionKeyToServer

func EncryptionKeyToServer(key *memguard.Enclave, uuid string) error

func Gen32BitKey

func Gen32BitKey() ([]byte, error)

Gen32BitKey creates a random 32 bit key for AES encryption. Using the crypto standard library.

func SendWantedFileToServer

func SendWantedFileToServer(uri string, params map[string]string, paramName, path 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