crypto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DbDecrypt

func DbDecrypt(tmpdb string) error

func DbEncrypt

func DbEncrypt(key []byte, encdb string, tmpdb string) error

func GenerateKey

func GenerateKey(master string, salt []byte) (string, error)

func GenerateNewKey

func GenerateNewKey(master string) ([]byte, error)

func GetAllCredentials

func GetAllCredentials() (types.Credentials, error)

func GetEncryptedDB

func GetEncryptedDB(a *[]byte) error

func GetKey

func GetKey(a *[]byte) error

func GetSalt

func GetSalt(a *[]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