secret

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase64

func DecodeBase64(encoded string) (string, error)

func DecryptOpenPGP

func DecryptOpenPGP(privateKey string, privateKeyPassword string, encString string) (string, error)

DecryptOpenPGP decrypts an encrypted string using OpenPGP (armored encrypted message)

func EncryptOpenPGP

func EncryptOpenPGP(publicKey string, secretString string) (string, error)

EncryptOpenPGP encrypts a secretString with the publicKey using OpenPGP (armored encrypted message)

Types

This section is empty.

Jump to

Keyboard shortcuts

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