secrets

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(privateKey string, secret string) (string, error)

func Encrypt

func Encrypt(publicKey string, secret string) (string, error)

Types

type Keys

type Keys struct {
	Private string
	Public  string
}

func GenerateKeys

func GenerateKeys() (Keys, error)

Jump to

Keyboard shortcuts

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