aes128

package
v0.0.0-...-c011c5d Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ECB = iota
	CBC
)

Variables

This section is empty.

Functions

func BitflipAttack

func BitflipAttack(encrypter *oracle.CommentEncrypter) (bool, error)

func BreakECBAdvanced

func BreakECBAdvanced(oracle oracle.Encrypter) ([]byte, error)

func BreakECBSimple

func BreakECBSimple(oracle oracle.Encrypter) ([]byte, error)

func DetectMode

func DetectMode(encryptedText []byte) int

DetectMode takes in encrypted text, and returns whether it is ECB or CBC encoded

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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