aestest

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlainText                   = "lorem ipsum"
	ValidAES256Base64Key        = "QTwR7N42uXvGBqtdbeKfjWUjXWngnhq5xUBcE6pI4Zs="
	ValidAESGCMBase64CipherText = "Glq32jvn9nPO/pqxN9p3YQT4pvoZuV4aQCOy/TIdEtqW8vtGMnsG"
	InvalidAESLengthBase64Key   = "aW52LWtleQ=="
	InvalidBase64Key            = "invalid-"
	InvalidBase64CipherText     = "."
	EmptyBase64CipherText       = ""
)

Variables

This section is empty.

Functions

func AESEncryptorBenchmark

func AESEncryptorBenchmark(b *testing.B, encryptor crypto.Encryptor, cipherText string)

func VerifyAESEncryption

func VerifyAESEncryption(t *testing.T, encryptor crypto.Encryptor)

Types

This section is empty.

Jump to

Keyboard shortcuts

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