#include <iostream>
#include <string>
using namespace std;
string bacon[26][2] = {
{"a", "8aca2602792aec6f11a67206531fb7d7f0dff59413145e6973c45001d0087b42d11bc645413aeff63a42391a39145a591a92200d560195e53b478584fdae231a"},{"b", "b0e869f9707a0ceb019795aa8b2c2b06fbee8dc4207da822828b1a1348e9eeb9b38eb12517c150cbce3cd653c09d3314c7dfbf53a54358b97f1d4c0f6b68103f"},
{"c", "52897b00e528ca357cea0f55b24d657252040d780005764d886023022fda9381db8dcb12361c6b45f9479680ca2a5b46ed0c6b0d565aaccc8ccfa0792dae58b8"},
{"d", "17fd1587a047994607a461d63706d6426456f0ffead460086a25d6f2af357b61d54b4518e0bf9bfbe4b7cbe6b25fa53db4e00bff27c93e75d5b6717bd4e22b27"},
{"e", "ecb88a0ed2b29417d192fd778d783c0e50ad028fb95188b0cb59ae6b9a8322292aa65e3ae9637c39a59cda503253159083fa79ac55a0b7dd62424e39787d977d"},
{"f", "47c7f9b44e004f44f171e082a69cd1385091ec452c69348477c1719f22c73b46e4afe702b33a77dee4a68ae581dba29c85fc90ce7199d1ff2cf03d5183371a18"},
{"g", "c1f390baf43673eab70aba83c6e3012c977a9219b078f7efa4ec92916c40aa99f80f9588b442e49502825fd77cb09873cdb297777f750291fa1f1b199eff2cec"},
{"h", "24fc871e81329c1019c11186642e5937298d10be03010244cf770a7ae306b539f3991b36a5f42f8cf7325f22411bc7a3b14351b42f26335f44786bdbf29c317f"},
{"i", "83b1085993e6be15a0932db4dfd838927679e80e75103e0c62cfcd6019c311b547489154024d9fdf2606c59618ec8f2b8f36b8c03c83ef5c1e4ce30d3396f5e2"},
{"j", "962594088302f9b8a6f8988d7e0fedc9505936a90ed6fe8a7dcae78d183950f6eab1f8dcd8728f6f9cdd7397bcd03894ff91e7de1c2c176b9114484eb3948a45"},
{"k", "18463569b4eab235d43425e1b52d3ca1a8a58301aa8650f9f52ad7230caa714ff679d7c6f7b3f7568eeafc942a67dea8eb3dc82512179b79f0419e479c79bbc8"},
{"l", "42917c6ad38b99a4bf0a616fbe025533b5fce6397059fa7f67e8b891e06b189b2832e2786ef57da05be703b379446474fa0b1b8b536e9c7d6bd8dc91c4960d7d"},
{"m", "b3ad83f44aa1e17af6d2a1b14c38c279681910b910af21cb04f3f23e83ef7966fb9f374199fc4a617449b5c5e9e1dfa9b6c4998cbe3dc18a5bd6dab5cd4546e6"},
{"n", "99c4b4d5444c9d4cfdd5f450f2da4e141b40879d46ed1cf2a6fa7e4b898ee70b5b6f8b3ddca07e756f0002bedbd72b14e0c0bea5cf67fc1635fa89f11e59200e"},
{"o", "07e17b52d3e62985c512482c683d10ddb544910aabcd4472e953db4f1a7e48662ddb4751c7e0bb98fe5e0b7f75439e28d474d57c1359060d2322e08f9f8d3c12"},
{"p", "4b3aa8bd3049d423cc311f930fa6f31191c3da6a01f699ce8dd808705258415a52ada559cfc1fb97fc17e54681183a793c9ba84c1e2d127c2829b5a0433d29fb"},
{"q", "05ee70f67fed50f8c5ac896c552b8b6b596a9353e67ae60a74bc112f3c7a5ee6131fd4a164479b263cc8916714d94d8b5026e7856eb5752031ff2c549343e505"},
{"r", "34dd680448b47aeb3593cfa3df71e0115e96634b0e3529dac9333206213452b801e68378ca342022216fc4604548c4c67f78d01ffe5b48d47453c9dca0ba70be"},
{"s", "eb69f836dedc8b0f7d4ffc2dbb5785962067eac2b9e0f62004c0afd0355ea56398597ba31b4abb12f47c2a511995067b2581b28b1b311f28aa770f6390aaba99"},
{"t", "bb80065713e635fad64b78fa7602d320ee6d029dae9421b4a868b3b1ea26aa0bb21cadd3a726a135719fe82d763b40888456e21f507072d967f048486fdc2cdf"},
{"u", "f4ebc060d62cab4e271b6e020e40792fe86b55c2e75974a0d06b04c425442514ab921015f88e1e027901df6795421a7fe7033b745e094cc45ea19815372986e7"},
{"v", "b642b4f803c8dced8bff46e6f721b3d5d986ef8484f59b8a3a819b5c5d744470b94f826107702a72b0a3ee94018f52e04563135a92a8aa0bab8c66411bb0b750"},
{"w", "3a95f5644f3780c4614b01ca517aebcfaf5114164e21814ae42ed031a134b94fc75392121e90a48c3cb8e55a8315e590319d0c43948914a99daf97a945e3df75"},
{"x", "7d6388114687e86ba9a4d2dcaeeb8ec10eb239fbd5b0299fecf6c1355ba6d5c603ae4294bce70a25bead8e7edae742465554abd643b09815d3b168be8bc58a51"},
{"y", "c21f0fa15029137943759b9ee89d59888ecbafe257e09a4975264379a8f11e35cbf79d0215f88c2855932a246559b5d9d048d64e28da1005e45df457688c100e"},
{"z", "714ec62b47c31b0872c20a7896e2065e7ddb5ac9398f1514bb74dabdb513d6855c097a2ac8bf24f495100aba70853aade622bdf0f3a932048109934f0c7c072f"}};
int i;
int main()
{
for (i=0; i<=25; i++)
cout << bacon[i][i] << endl;
return 0;
}
Tuesday, January 19, 2016
Multidimensional Arrays
Creating a bacon cipher with a little twist. Instead of the binary AAAAA and AAAAB I'm just going to use a hash because it's easy.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment