public string Decrypt(string encodedText) { var keyText = CharacterManipulation.RepeatToFill(Keyword, encodedText.Length); return(CharacterManipulation.ShiftCharacters(Alphabet, keyText, encodedText, true)); }
public string Encrypt(string plainText) { var keyText = CharacterManipulation.RepeatToFill(Keyword, plainText.Length); return(CharacterManipulation.ShiftCharacters(Alphabet, keyText, plainText, true)); }