In [3]:
hero,villain = ("Luke Skywalker","The Imperator");
hero > villain
Out[3]:
Another enrypted message of from who must not be named showed up. This time they changed the ciper to much simpler one. Remove all except every 7th character to reveal the secret information.
"ogmucsYpoobaborseuasudiamtw madpzdcqfbbpqaibvkpzndgcbhy psvzamsamnzzfewwrlnsetamchh wwzrormmvqybweczhdlo enpjqiinfadwonrqofve xkgicvwfhpjgzaekbipstqzrtgzewnalimrunmbwl,taylks omyifqbajdudyuxjldwgtmtfxra mpswlcIhikeyt zekiscnhagsdheyuspwcvwvdfwtednjynkrrmzpdd hhuwfagtaahevemveofqtrnykcf yuiakmwzzgirneykidwhthmtqnb.nnrreu yqhnafWioecrchpwghgoahleqgntxcehtl mhngsvaarqlhymzrvfll buiasqIyucjaa?"
In [1]:
riddle = "You can see me in water, but I never get wet. What am I?";
enc = "";
for i in 1:length(riddle)
enc = enc * lowercase(String(Char.(rand(65:90,6)))) * riddle[i:i]
end
display(enc);
display(enc[7:7:end])
In [4]:
m = Dict("k"=>10^3,"M"=>10^6)
Out[4]:
In [ ]: