szyfrowanie - jakie i kilka pytan

0

Hej, znalazlem takie zadanie, ktore wydaje sie byc ciekawe, ale nie wiem jak to zrobic(nigdy nie bawilemmsie kryptografia):

The whole of Europe is under Roman rule, all except one tiny village...

You are Linguistix, a sharp witted and gifted scholar in a small village inhabited by a group of gauls, which to this time was still undefeated by the Roman troops. One day, when you are taking a little walk through the nearby woods you find a Roman soldier who has obviously lost the direction on his way to the Roman camp. When he takes notice of you he first turns to run away but on a second thought he looks at you and apparently identifies you as being no immediate threat to him (There have been rumours of incredibly powerful gauls in the roman camps lately). The moment he overbears his fear and is taking breath to ask you the way to the camp all of the sudden a giant menhir (an obelisk) falls from the sky and buries all of him but his head. As his helmet falls off, a letter appears which is sealed with Caesars seal. You get very excited, take the letter and run home. On your way you meet Obelix who asks you for his menhir which he had lost when he stumbled across his dog Idefix - you quickly point at the soldier behind you and hurry to come home. "What could it be, that Caesar himself is writing a letter to the Roman camp nearby our village?" you keep asking yourself. In your cottage you lock yourself in your study - room and open the letter, but what you see is nothing to be excited about:


rlkmlj, zlptfi akblvka nqd alvm tf nzln gblrk, ekrlomk zk zla lfntrtglnka nzln, tf nzk flnojlb rdojmk ds kpkfnm, morz qdoba ek nzk rdfaorn ds pkjrtfikndjtu, bklpkm nzk ljcv ofakj gjknkfmk ds jltmtfi jkrjotnm lfa rlplbjv: zk gblrkm ejonom, l vdofi clf, tf rdcclfa ds nzkmk sdjrkm; zk itpkm ztc tfmnjorntdfm nzln nzk rlplbjv mzdoba jlfik lm kunkfmtpkbv lm gdmmtebk tf lbb atjkrntdfm; nzln zk qdoba kukjn ztcmkbs fdn nd ek lemkfn sjdc nzk rlcg bdfikj nzlf nzjkk alvm. zlptfi ljjlfika nzkmk clnnkjm, zk cljrzkm nd ptkffl ev lm bdfi ydojfkvm lm zk rlf, qzkf ztm dqf mdbatkjm ata fdn kugkrn ztc. stfatfi nzkjk l sjkmz edav ds rlplbjv, qztrz zk zla mkfn df nd nzln gblrk mkpkjlb alvm eksdjk, cljrztfi tfrkmmlfnbv ftizn lfa alv, zk laplfrka jlgtabv nzjdoiz nzk nkjjtndjv ds nzk lkaot tfnd nzln ds nzk btfidfkm, tf qztrz nqd bkitdfm qkjk qtfnkjtfi, nzln, ts lfv gblf lsskrntfi ztm dqf mlsknv mzdoba zlpk ekkf djilftwka ev nzk lkaot, zk ctizn akskln tn ev nzk jlgtatnv ds ztm cdpkckfnm. qzkf zk ljjtpka nzkjk, zk mkfam tfsdjclntdf nd nzk jkmn ds nzk bkitdfm, lfa ilnzkjm lbb ztm ljcv tfnd dfk gblrk eksdjk tfnkbbtikfrk ds ztm ljjtplb rdoba ek lffdofrka nd nzk ljpkjft. pkjrtfikndjtu, df zkljtfi nztm rtjrocmnlfrk, bklam elrx ztm ljcv tfnd nzk rdofnjv ds nzk etnojtikm; lfa lsnkj cljrztfi sjdc tn nd ikjidptl, l ndqf ds nzk edtt, qzdc rlkmlj zla mknnbka nzkjk lsnkj aksklntfi nzkc tf nzk zkbpkntlf qlj, lfa zla jkfakjka njteonljv nd nzk lkaot, zk aknkjctfka nd lnnlrx tn.

Answer the following Questions and you will be able to read Caesar's letter to the Romans!
1.What kind of cipher was used by Caesar to make this message unreadable for those recipients who are not entitled to do so? Describe the principle!
2.Describe in detail how you obtained the key (include every step of your analysis and tell which letters where obtained by which step).
3.Write down the actual key that was used for this example.
4.Put down the decrypted text in the answer field.

Hints:
-You may know Caesar's Cipher, if you don't - look it up somewhere. It will give you a direction, but it's not as easy as Caesar's Cipher.
-The plaintext is in English.
-You might want to write some lines of code to examine the cipher.
-Don't be intimidated by the length of the text! You know, the longer the text, the easier it is to decrypt. Again, you may find it easier if you write yourself a little program.

Moglby ktos odpwoedziec na te pytania?
Dzieki i milego dnia,
Maciek

0

Google: szyfr Cezara.
Po krótce polega na przesunieciu wszystkich liter o X znaków w alfabecie do przodu, np. przesunięcie o 3 powoduje zamianę:
A->D, B->E, ... , Z->C czyli słowo ALA zamienia się na DID

Klucza w tym przypadku mozesz szukać za pomocą zwykłego brute force'a. Tzn puszczasz prosty program który tłumaczy jakieś słowo z teksu przesuwając litery o kolejne liczby naturalne i za chwilę będziesz widział przy które iteracji pojawiło sie normalne słowo. Możesz też robić to kryptoanalizą statystyczną, tzn zrobic statystykę występowania liter w tekście i porównać ze statystyką tekstu w danym języku.
http://pl.wikipedia.org/wiki/Szyfr_Cezara

0

To nie jest szyfr Cezara, to jest szyfr podstawieniowy. Historyjka o Cezarze jest dla zmyły ;-)

0

Nie jest, wyraźnie napisali tam ze to nie jest szyfr Cezara, ale podobny ;)

0

Nietety nie potrafie tego zrobic :(((
Dziekiza odpowiedzi.

0

Jest to szyfr podstawieniowy. Danej literze odpowiada inna litera.
Żeby to rozwiązać, potrzebna jest prosta analiza statystyczna.

Często w szyfrogramie powtarza się słowo "nzk". Jakie jest najczęstsze trzylitowe słowo w angielskim? No to już masz trzy litery rozwiązane. I tak dalej.
BTW historyjka fajna ;-)

0
Azarien napisał(a)

Jest to szyfr podstawieniowy. Danej literze odpowiada inna litera.
Żeby to rozwiązać, potrzebna jest prosta analiza statystyczna.

Często w szyfrogramie powtarza się słowo "nzk". Jakie jest najczęstsze trzylitowe słowo w angielskim? No to już masz trzy litery rozwiązane. I tak dalej.
BTW historyjka fajna ;-)

Hej, ale jaki jest to slowko "the" czy "and"?

Sorry, ze pytam, ale studiuje romaniswtyke i dla mnie taka szyfr4owania to czarna magia.

1 użytkowników online, w tym zalogowanych: 0, gości: 1