aescrypt

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 5 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(keylength, saltLength, ivSize, iterations int, plaintext *string, cipherText *[]byte, key *[]byte) *AES

New create a new instance of the AES struct

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