Skip to content

Commit 298ccf3

Browse files
committed
Added comments to struct members
1 parent abb2d23 commit 298ccf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crunchy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* crunchy - find common flaws in passwords
3-
* Copyright (c) 2017, Christian Muehlhaeuser <[email protected]>
3+
* Copyright (c) 2017-2018, Christian Muehlhaeuser <[email protected]>
44
*
55
* For license see LICENSE
66
*/
@@ -21,9 +21,9 @@ import (
2121
type Validator struct {
2222
options Options
2323
once sync.Once
24-
wordsMaxLen int
25-
words map[string]struct{}
26-
hashedWords map[string]string
24+
wordsMaxLen int // length of longest word in dictionaries
25+
words map[string]struct{} // map to index parsed dictionaries
26+
hashedWords map[string]string // maps hash-sum to password
2727
}
2828

2929
// Options contains all the settings for a Validator

0 commit comments

Comments
 (0)