gbcrypto

package
v0.0.0-...-7f05d5b Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cryptography

type Cryptography struct {
}

Cryptography is an implementation of the class holding cryptographic functions

func (Cryptography) Decrypt

func (crypto Cryptography) Decrypt(keyStr string, cryptoText string) string

Decrypt from base64 to decrypted string

func (Cryptography) Encrypt

func (crypto Cryptography) Encrypt(keyStr string, cryptoText string) string

Encrypt string to base64 crypto using AES

type Interface

type Interface interface {
	Encrypt(keyStr string, cryptoText string) string
	Decrypt(keyStr string, cryptoText string) string
}

Interface is the interface for cryptography functionality

Jump to

Keyboard shortcuts

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