public void Bifid() { BifidCipher cipher = new BifidCipher(); char[,] key = new char[, ] { { 'B', 'Q', 'I', 'F', 'T' }, { 'G', 'P', 'O', 'C', 'H' }, { 'W', 'N', 'A', 'L', 'Y' }, { 'K', 'D', 'X', 'U', 'V' }, { 'Z', 'S', 'E', 'M', 'R' } }; const string plaintext = "FLEEATONCE"; const string ciphertext = "UAEOLWRINS"; Assert.AreEqual(ciphertext, cipher.Encrypt(plaintext, key), true); Assert.AreEqual(plaintext, cipher.Decrypt(ciphertext, key), true); }