EG Information
Training Missions
Knowledge Bank
Pimp Us Out!
Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site And Create A Link Back To Enigma Group.
|
| |
Affiliates
|
|
Enigma Group's Articles
Return to Category Selection
The Caeser Cipher - Submitted By: invas10n 2008-08-26 08:14:33
The Caeser Cipher ---------------- History: One of the first ciphers ever created was the Caeser cipher, so named because Juilius Caeser was the creator of it. He used it to encrypt his messages to his generals so that spys and the enemy would not be able to read it. They were however mostly iliterate which fortunatly for caeser allowed his messages to go about unciphered. A caeser cipher is an extremely basic form of encryption and extremely easy to break, therefore it is not really used today for any serious puposes. Childrens toys and prehaps "joke spoilers" might incorporate it - this is called a ROT13 cypher, and shifts 13 to the right usually, hence the name. There has also been reports that lovers have left messages in newspapers for each other using this cypher  lol. Caeser used a shift of 3, and what that means will be explained below. How it works: Basically, a Caeser Cipher is the re-arranging of the alphabet. Different shift values can be used to create different message encodings. The number of shifts is as it sounds, the number of letters shifted across (right or left) to create the encrypted message. Here is a practical example using a shift of 5 to the right. English: I love hairy monkeys Encripted: N qtaj mfnwd rtspjdx Shifting the alphabet was like this: normal: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z shift(5): F G H I J K L M N O P Q R S T U V W X Y Z A B C D E The message above can be easily decrypted by brute-forcing - trying every combination of letters until one finally makes sense. More complicated cyphers have been created on this principle such as The Vigenere Cipher or the The Gronsfeld Cipher but they all basically have the same idea in mind. Now, decyphering this by hand can be a royal pain in the ass as there are 26 different combinations and things could be more complicated - such as each letter acts as value changing the shift pattern. e.g english: HELLO encrypted: PJXXD In this case, "H" has a numberic value of 8, so the shift is 8 letters to the right. Next is "E" with a numberic value of 5 resulting in 5 shifts to the right, and "L" having the numberic value of 12 etc etc. This could be a real pain to try decypher, and letting a computer do it wouldnt be too helpful either because a computer cant really read english, so it would now know if it were to stumble on the answer. Another method used which is more successful and time efficient is using frequency analysis to break the code. Frequency analysis takes the frequency in which characters appear and compare them to a grid of approximate values for the appearance of letters in 1000 lines of english text. The English languages fequencey grid is: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 73 9 30 44 130 28 16 35 74 2 3 35 25 78 74 27 3 77 63 93 27 13 16 5 19 1 using this grid and comparing it to the grid you made from the encrypted text, it is more visible which letters correspond to the correct one. eg. K DKVO DYVN LI KX SNSYD, PEVV YP CYEXN KXN PEBI, CSQXSPISXQ XYDRSXQ The frequency grid below corresponds to the appearances of letters in the encrypted text: K L M N O P Q R S T U V W X Y Z A B C D E F G H I J 4 1 0 4 1 4 3 1 6 0 0 4 0 7 4 0 0 1 2 4 3 0 0 0 3 0 A TALE TOLD BY AN IDIOT, FULL OF SOUND AND FURY, SIGNIFIYING NOTHING Thats it for this tutorial. Good luck! Invas10n - ask the experienced, not the learned Return to Category Selection
If you wish to submit a comment, you must be a registered member and logged in. Login or Register.
Return to Category Selection
|
| |
|
|
Who Visited EnigmaGroup Today?
1394 Guests, 221 Users (218 Spiders)
junaid_junaid59, Galagatron, tgm001, famous0123, mjneat, Aska, Beat_Slayer, Molinaro, M0rdak, plex, Ausome1, dark_void, Imre, TheCheeseDemon, rockcraft, Vreality2007, mmndglxuwn, m0rt, unholyblood, psychomarine, iterrumzz, VurbTrurb, CJ_Omaha, Mayonoula, MAMWOURBROR, mutabor, gobinda, cossyDrybrich, Razin, zaCruBumas8, hunja, johny34, ssmaslov, pantoufle, bagy, arctica, hackarchives, UsedDeteKef, Peculator, Fadhilat606, TheTrueMonarch, Pascall01, hackaday, Tjm, arndevil, flairvelocity, lol, alphbond, kdivanov, elizbethallis6, Rik, bn11, BorgBot, SHASHANK101hello, 4poc4lyptic, ksajxai, nbmorri1, electro-technic, saraf, شمالي عرعر, lamb, AutobotPrime, Underleaf, The End, tomtombomb, killobyte, snowgirlx, so_saucey, zerolife, Althor, Cramps, Hekser, Hyperborn, cyber-guard, jhgrunn, cobra, Partisan, MAZI_, cyborg, GenbreedX, moel77, cliptoX, pwnpwnlolz, letshavepie, Mrwormz, yshiau, mirmo, roozyoppomo, soft_devil, cls777, scoobywan, Reiversed, joshua, st3alth, Afrika, PaiffDryday, venter, Anthony12796, sh3llcod3, 8FIGURE, Rannim, Evil1, maloaboy, BACanON, SlayingDragons, Repuhlsive, IvanDimitriev, lolzsec, 1RiB, mzungudo, Micro_Geek, iMaxx, aciboummamymn, k0unterkulcher, somebody777, m14m16, GoododotAlcob, negasora, Rastii, UninueMem, JohnJohnJohn, Swifsolja, ad.conquest, ngolatkar, Infinity8, Jigoku, thesupervisor, p0is0n5ting, kernel_mod, AKL, GothicLogic, themastersinner, dnatrixene135, ChewBigRed, kalak55, sejem, cve916, pollolololo, triecturn, Violatedsmurf, Ops, jmp, xsiemich, generalisimo, strudels, Dregoon, ga3ttpom, KingOfBritains, epoch_qwert, suten, FriskyKat, Ryuske, Adonis Achilles, ubqbcdzzhf, 3vil, Nightraven, US£RNAM£, Weindittewcon, Batesheelocot, GSmyrlis, MaxMeier, Elite.America, rabbidmind, Psiber_Syn, phoenix22, imittyerrotte, peewster, cyberturtle, ctb, dexgeda, sdw, Pizza, White_widdow, devarian, finesse, Nature112091777, Danc7171, Alphadragon, Estadagause, 53QR10U5, Xargos, Alkomage, hardlock, Barry Gonzoles, MineDweller, Gkjt, N4g4c3N, [I]nfectedbug, wimsteege, aqr5zdcw, xin214, Bugshuppy, SnoopSky, Hessesian, voodooKobra, sKcarr, IROverRated, W1F1G3NJU75U, Baddy, Patrickk, ziadmosaan, gamble86, realzs, CruelDemon, Shinju, aVoid, aquiredanonymity, kukumumu, web_request, callmeneon, KissMyDAFFODIL, Feld Grau, Abhinav2107, prabhataditya, mbuyiselo, shumer, phenom216, princennamdi, huskyboiza, ninety-nine, lucca65 |
| |
|
|
|
|
|