Update columnar-transposition example

+ Use inheritance to provide base class for key based ciphers
This commit is contained in:
2021-07-22 10:50:29 -04:00
parent b5a97de9ff
commit 58adbfc473
4 changed files with 69 additions and 58 deletions

View File

@@ -27,10 +27,10 @@ int main (const int argc, const char * argv[]) {
// Using example keyword from www.braingle.com
// + The embedded example there doesn't seem to support numbers in keywords :(
CipherData cData("ZEBRAS");
Columnar cData("ZEBRAS");
// Taking user input for keyword using CipherData ctor
// CipherData cData;
// Taking user input for keyword using Columnar ctor
// Columnar cData;
int choice = 0;
bool exit = false;