payload

package
v0.0.0-...-194db27 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPayload

func BuildPayload(data string, dataType string, shuffle bool) []injection.Chunk

BuildPayload builds a Chunk slice from a data string, and dataType string. Shuffle will split data across two chunks to obfuscate the ciphertext or plaintext data.

func DecryptAES

func DecryptAES(key []byte, cryptoText string) string

DecryptAES decrypts ciphertext string with the provided key.

func EncryptAES

func EncryptAES(key []byte, text string) string

EncryptAES encrypts plaintext string with the provided key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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