testAll function
void
testAll()
This function tests all of the available functions..
Implementation
void testAll() {
int factor = 5;
String testLetter = 'A';
String testWord = 'TEST';
String testPhrase = 'HELLO WORLD';
int encryptedLetter = encryptLetter(factor, testLetter);
String encryptedWord = encryptWord(factor, testWord);
String encryptedPhrase = encryptPhrase(factor, testPhrase);
String decryptedLetter = decryptLetter(factor, encryptedLetter);
String decryptedWord = decryptWord(factor, encryptedWord);
String decryptedPhrase = decryptPhrase(factor, encryptedPhrase);
print(encryptedLetter);
print(encryptedWord);
print(encryptedPhrase);
print(decryptedLetter);
print(decryptedWord);
print(decryptedPhrase);
}