We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb2d23 commit 298ccf3Copy full SHA for 298ccf3
crunchy.go
@@ -1,6 +1,6 @@
1
/*
2
* crunchy - find common flaws in passwords
3
- * Copyright (c) 2017, Christian Muehlhaeuser <[email protected]>
+ * Copyright (c) 2017-2018, Christian Muehlhaeuser <[email protected]>
4
*
5
* For license see LICENSE
6
*/
@@ -21,9 +21,9 @@ import (
21
type Validator struct {
22
options Options
23
once sync.Once
24
- wordsMaxLen int
25
- words map[string]struct{}
26
- hashedWords map[string]string
+ wordsMaxLen int // length of longest word in dictionaries
+ words map[string]struct{} // map to index parsed dictionaries
+ hashedWords map[string]string // maps hash-sum to password
27
}
28
29
// Options contains all the settings for a Validator
0 commit comments