encryption

package
v0.0.0-...-bfd8961 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecrypt

func AESDecrypt(key []byte, cryptoText string) (string, error)

AESDecrypt from base64 to decrypted string

func AESEncrypt

func AESEncrypt(key []byte, text string) (string, error)

AESEncrypt encrypts string to base64 crypto using AES

func PGPEncrypt

func PGPEncrypt(secretString, pubKeyPath string) (string, error)

PGPEncrypt will encrypt a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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