package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 11, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Mutator interface {
Mutate([]byte, int) [][]byte
}
Mutator interface gives a Mutate() function that takes as input a requested
number of mutations, and returns a set of mutated passwords
type RDasMutator struct {
}
RDasMutator uses the ordered Das et al. mangling rules defined in dasrules.go
NewRDasMutator returns a new RDasMutator
Mutate generates up to requested number of mutations. Returns a set of
unique strings. May return fewer than requested number, caller should
check.
type RDasRule struct {
RuleType string `json:"ruletype"`
Position int `json:"position"`
String1 string `json:"string1"`
String2 string `json:"string2"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.