Example #1
0
        public SinglePasswordGenerator(int length, IAlphabet alphabet, params string[] alphabets)
        {
            context = new InterpretingContext(alphabet);

            resolver = new SimpleCommandResolver(length, alphabets);
        }
Example #2
0
 public FromCommandPasswordGenerator(string cmd, IInterpretingContext context, IAlphabet alphabet)
 {
     resolver = new StringCommandResolver(cmd);
     context  = new InterpretingContext(alphabet);
 }
Example #3
0
 public CustomGenerator()
 {
     context  = new InterpretingContext();
     resolver = new SimpleCommandResolver(10, "ll", "ul");
 }
Example #4
0
 public FromCommandPasswordGenerator(string cmd)
 {
     resolver = new StringCommandResolver(cmd);
     context  = new InterpretingContext();
 }
Example #5
0
 public CustomGenerator()
 {
     context  = new InterpretingContext();
     resolver = new CustomCommandResolver();
 }