예제 #1
0
 public Beaufort(string key)
 {
     _key            = key;
     _caesar         = new Cezar();
     _alphabet       = "abcdefghijklmnopqrstuvwxyz";
     _alphabetMatrix = new char[_alphabet.Length][];
     _alphabetMatrix = initializeAlphabetMatrix();
 }
예제 #2
0
 public Vigenere(string key)
 {
     _key = key;
     //_text = text;
     _alphabet       = "abcdefghijklmnopqrstuvwxyz";
     _alphSize       = _alphabet.Length;
     _alphabetMatrix = new char[_alphSize][];
     _cezar          = new Cezar();
     initializeAlphabetMatrix();
 }