aescrypt_gcm

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AES

type AES struct {
	// contains filtered or unexported fields
}

AES store variables for encryption

func New

func New(plaintext *string, cipherText *[]byte, key *[]byte) *AES

func (*AES) Decrypt

func (a *AES) Decrypt() []byte

Decrypt interface method for decryption

func (*AES) Encrypt

func (a *AES) Encrypt() []byte

Encrypt interface method for encryption

func (*AES) Validate

func (a *AES) Validate() bool

Jump to

Keyboard shortcuts

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