entropy

package
v0.0.0-...-fa2cb28 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 6 Imported by: 42

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcBruteForceCardinality

func CalcBruteForceCardinality(password string) float64

CalcBruteForceCardinality calculates the brute force cardinality TODO: Validate against python

func DateEntropy

func DateEntropy(dateMatch match.DateMatch) float64

DateEntropy calculates the entropy provided by a date

func DictionaryEntropy

func DictionaryEntropy(match match.Match, rank float64) float64

DictionaryEntropy calculates the entropy of a dictionary match

func ExtraLeetEntropy

func ExtraLeetEntropy(match match.Match, password string) float64

ExtraLeetEntropy calulates the added entropy provied by l33t substitustions

func RepeatEntropy

func RepeatEntropy(match match.Match) float64

RepeatEntropy calculates the entropy for repeating entropy

func SequenceEntropy

func SequenceEntropy(match match.Match, dictionaryLength int, ascending bool) float64

SequenceEntropy calculates the entropy for sequences such as 4567 or cdef

func SpatialEntropy

func SpatialEntropy(match match.Match, turns int, shiftCount int) float64

SpatialEntropy calculates the entropy for spatial matches

Types

This section is empty.

Jump to

Keyboard shortcuts

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