MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / __init__

Method __init__

keepercommander/generator.py:393–396  ·  view source on GitHub ↗
(self, number_of_rolls, word_list_file=None, delimiter=' ')

Source from the content-addressed store, hash-verified

391
392class DicewarePasswordGenerator(PasswordGenerator):
393 def __init__(self, number_of_rolls, word_list_file=None, delimiter=' '): # type: (int, Optional[str], str) -> None
394 self._number_of_rolls = number_of_rolls if number_of_rolls > 0 else 5
395 self.delimiter = delimiter
396 self._vocabulary = _load_wordlist(word_list_file)
397
398 def generate(self):
399 if not self._vocabulary:

Callers

nothing calls this directly

Calls 1

_load_wordlistFunction · 0.85

Tested by

no test coverage detected