Documentation ¶
Overview ¶
Package dictionary holds logic for Dictionary cracking attacks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
type Dictionary struct {
Words [][]byte
}
Dictionary is the negine for the Dictionary attack.
func New ¶
func New(src string) (*Dictionary, error)
New creates a *Dictionary struct from a dictionary file source.
type Result ¶
type Result struct { Ok bool Hash []byte Password []byte Tries int UsedCache bool Duration time.Duration }
Result represents the attack output.
type Strategy ¶
type Strategy struct { Cipher cipherlib.Interface Cache *digestcache.DigestCache }
Strategy defines options for the cracking.
Click to show internal directories.
Click to hide internal directories.