EG Information

Main Index
EG Manual
Disclaimer
Legal Information
Hall of Fame
Hall of Shame
Member Rankings
Members List
Meet the Staff
Hacker's Home Page

Training Missions

Read Me First
Basic Skills
Realistic Scenarios
Cryptography
Software Cracking
Linux ELF Binary Cracking
Logical Thinking
Programming
Captcha Cracking
Patching
Steganography
Deface This Wall
/dev/null
/dev/urandom
/dev/extra

Knowledge Bank

Discussion Forums
Exploit Database New
PasteBin New
RSS Feeds RSS
Articles / Tutorials
Videos
Online EG MP3 Player Radio
Downloads
Tools

Code Resources

Submit Code
Ajax
ASM
Bash
C
CPP
Csharp
Delphi
Haskell
Java
Javascript
Jython
Lisp
mIRC
MySQL
Perl
PHP
Python
QBASIC
VisualBasic

Pimp Us Out!

Review enigmagroup.org on alexa.com

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.

Enigma Group

Enigma Group

Enigma Group

Enigma Group

 

Affiliates

hackhound.org

suck-o.com

hack.org.za

flyninja.net

 

Enigma Group's Articles



Return to Category Selection

The Scytale Cipher - Submitted By: invas10n 2008-10-05 07:29:16
Scytale Cipher
--------------

Introduction
------------
Scytale was a simple transposition cipher that was used by the ancient
Greeks and Spartans to communicate during their military campaigns. It
was quite popular due to the easy and speed in which the message could
be deciphered by the other party. All that was required was a roll of
wood that was exactly the same size as the roll used by the sending
party.

What is a "Transposition Cipher"?
---------------------------------
A transposition cipher is used when a message is encrypted by changing
the position of the letters in the text into a different order/sequence. In
order to decipher the cipher text, all that is needed is for the text to
be reversed by the same method that was used in encrypting it. In other
words, if we took the word "test" and changed it by shifting all
characters one space to the right with text wrapping, we would get
"ttes". All that is needed to get the original word back is to shift it
by one character to the left.

How Does The Scytale Cipher Work?
---------------------------------
The Scytale cipher involves three pieces of equipment, namely a pen, a
long strip of paper (leather was used by the Greeks and Spartans), and a
cylinder of some sort. The long thin strip of paper is then wrapped
around the cylinder, going from one end to the other. The message is
then written on the paper, one letter for each wrap around, going from
left to right. The cylinder is rotated and the rest of the message is
written until the message is complete. Once its complete, the strip of
paper is taken off and the result is the cipher text.

To try and explain visually...

Here is our long thin strip of paper:
 __________________________________________________________
 |                                                                                                    |
 |                                                                                                    |
 |_________________________________________________________|

The paper is wrapped around the cylinder like so:
 
 .......______________________________________________.....
 |     /         /         /        /         /         /         /         /        /    |
 |    /         /         /        /         /         /         /         /        /     |
 |.../_____/_____/_____/_____/_____/_____/_____/_____/......|

Then, taking this wrapped cylinder, the message is written horizontally
across the paper like this:

 .......________________________________________________.....
 |     /     T    /    H   /    I    /    S   /   W  /      I    /    L   /   L   /    |
 |    /    B    /    E   /   M   /    Y   /    L   /     A   /    S   /   T   /     |
 |.../__M__/__E__/__S__/__S__/__A__/__G__/__E__/__!__/......|

Reading across, I have written the message "THIS WILL BE MY LAST
MESSAGE!". When that strip of paper is unrolled, this is what the
message will look like:
 __________________________________________________________
 |                                                                                                    |
 |      MBT     EEH     SMI     SYS     ALW     GAI     ESL     !TL       |
 |_________________________________________________________|

I have written it from bottom to top because thats the way the drawing
above depicts the roll of paper. With this new message, the only way to
read the original is to re-wrap it around a cylinder of equal width and
read the letters from left to right.

I hope this has been an interesting read.

...:: Peace, 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, 222 Users (218 Spiders)
junaid_junaid59, famous0123, psychomarine, Galagatron, tgm001, Dregoon, cat1vo, plex, Patrickk, mjneat, Aska, Beat_Slayer, Molinaro, M0rdak, Ausome1, dark_void, Imre, TheCheeseDemon, rockcraft, Vreality2007, mmndglxuwn, m0rt, unholyblood, 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, 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, ziadmosaan, gamble86, realzs, CruelDemon, Shinju, aVoid, aquiredanonymity, kukumumu, web_request, callmeneon, KissMyDAFFODIL, Feld Grau, Abhinav2107, prabhataditya, mbuyiselo, shumer, phenom216, princennamdi, huskyboiza, ninety-nine, lucca65
 
Enigma Group