mirror of
https://codeberg.org/scip/valpass.git
synced 2025-12-16 20:21:00 +01:00
remove mean from example as well
This commit is contained in:
@@ -17,7 +17,6 @@ Character distribution 100%% min %0.2f%% %0.2f%%
|
|||||||
Character entropy 8.0 bits/char min %0.2f %0.2f bits/char
|
Character entropy 8.0 bits/char min %0.2f %0.2f bits/char
|
||||||
Character redundancy 0.0%% max %0.2f%% %0.2f%%
|
Character redundancy 0.0%% max %0.2f%% %0.2f%%
|
||||||
Dictionary match false false %t
|
Dictionary match false false %t
|
||||||
Arithmetic mean 80 true %0.2f
|
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
Validation response %t
|
Validation response %t
|
||||||
`
|
`
|
||||||
@@ -28,7 +27,6 @@ func main() {
|
|||||||
CharDistribution: valpass.MIN_DIST,
|
CharDistribution: valpass.MIN_DIST,
|
||||||
Entropy: valpass.MIN_ENTROPY,
|
Entropy: valpass.MIN_ENTROPY,
|
||||||
Dictionary: &valpass.Dictionary{Words: ReadDict("t/american-english")},
|
Dictionary: &valpass.Dictionary{Words: ReadDict("t/american-english")},
|
||||||
MeanDeviation: 20, //valpass.LIMIT_MEAN,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
res, err := valpass.Validate(os.Args[1], opts)
|
res, err := valpass.Validate(os.Args[1], opts)
|
||||||
@@ -47,7 +45,6 @@ func main() {
|
|||||||
100-opts.CharDistribution,
|
100-opts.CharDistribution,
|
||||||
100-res.CharDistribution,
|
100-res.CharDistribution,
|
||||||
res.DictionaryMatch,
|
res.DictionaryMatch,
|
||||||
res.Mean,
|
|
||||||
res.Ok,
|
res.Ok,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user