A command-line utility to encrypt and decrypt search results from Wikipedia using a Caesar cipher
1. Get .NET Core 2.1 or later:
This is best done by following the instructions found here.
2. Clone cx-dotnet-assignment:
Assuming you have git installed, navigate to your favorite folder and run:
git clone https://github.com/teodoran/cx-dotnet-assignment.git
3. Try out CaesarCipher!
Navigate to the /CaesarCipher
folder and try it out!
$> cd CaesarCipher
$> dotnet run 3 norway
Searching for norway...
Total number of hits: 169712, showing top result:
Norway:
-----------------------------------------------
Norway (Norwegian: Norge (Bokmål) or Noreg (Nynorsk); Northern Sami: Norga), officially the Kingdom of Norway, is a Nordic country in Northwestern Europe
Encrypted:
vsdqcfodvvvhdufkpdwfkqruzdøvsdqcvsdqcfodvvvhdufkpdwfkqruzhjldqvsdqcqrujhcernpbocrucqruhjcqøqruvncqruwkhuqcvdplcqrujdcriilfldooøcwkhcnlqjgrpcricvsdqcfodvvvhdufkpdwfkqruzdøvsdqclvcdcqruglfcfrxqwuøclqcqruwkzhvwhuqchxursh
...
Note: If given no arguments (or wrong arguments!) CaesarCipher will print information about all available options.