cryptutils

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptGPG

func DecryptGPG(ciph, id string) (string, error)

DecryptGPG decrypts the given ciphertext using the gpg key with the given id

func DecryptPassword

func DecryptPassword(ciph string) (string, error)

DecryptPassword decrypts the given string using a password which the user is prompted for

func EncryptGPG

func EncryptGPG(str, id string) (string, error)

EncryptGPG encrypts the given string using the gpg key with the given id

func EncryptPassword

func EncryptPassword(str string) (string, error)

EncryptPassword encrypts the given string using a password which the user is prompted for

Types

This section is empty.

Jump to

Keyboard shortcuts

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