Skip to content

Commit

Permalink
Added comments to struct members
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Apr 25, 2018
1 parent abb2d23 commit 298ccf3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crunchy.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* crunchy - find common flaws in passwords
* Copyright (c) 2017, Christian Muehlhaeuser <muesli@gmail.com>
* Copyright (c) 2017-2018, Christian Muehlhaeuser <muesli@gmail.com>
*
* For license see LICENSE
*/
Expand All @@ -21,9 +21,9 @@ import (
type Validator struct {
options Options
once sync.Once
wordsMaxLen int
words map[string]struct{}
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
}

// Options contains all the settings for a Validator
Expand Down

0 comments on commit 298ccf3

Please sign in to comment.