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 Bifid Cipher - Submitted By: invas10n 2008-10-21 02:14:17
The Bifid Cipher
-------------------

Introduction:
----------------

The Bifid cipher, developed by Felix Delastelle in 1901, is a
combination of the Polybius square (please see Polybius Cipher article)
with transposition.

How it works:

Firstly, you must be familiar with the Polybius Cipher. I have written
an article on this specific cipher previously. In order to create a
Bifid Cipher, one must first draw up a random Polybius square such as
the one below:

   | 1 | 2 | 3 | 4 |  5  |
-------------------------
1 | S | E | B | A |  G |
-------------------------
2 | W | H | K | C | M |
-------------------------
3 | N | O |  F |  P | L |
-------------------------
4 |X/Z| Y | Q | D | V |
-------------------------
5 |   I  | R | T |  J  | U |
-------------------------

Now that we have the square, we are going to jot down the numbers that
correspond to each letter in the message right below. Lets say for instance that our message to be encrypted is: "Stroke the monkey head". That would be written like so:

s  t  r  o  k  e  t  h  e  m  o  n  k  e  y  h  e  a  d
1 3  2 2  3  2  3  2 2   5   2 1  3  2  2  2  2  4  4
1 5  5 3  2  1  5  2 1   2   3 3  2  1  4  2  1  1  4

Now, take the second row of numbers, add it to the first at the very end
like so:

1 3 2 2 3 2 3 2 2 5 2 1 3 2 2 2 2 4 4 1 5 5 3 2 1 5 2 1 2 3 3 2 1 4 2 1 1 4

Re-organize the numbers to be in sets of two (you will always have sets
of two because you just doubling the first row. If not, you have
forgotten a number). The new string of numbers will appear like so:

13 22 32 32 25 21 32 22 24 41 55 32 15 21 23 32 14 21 14

Now, take each new number and find the corresponding letter on the
original Polybius Square that you used, and write down the new
incomprehensible string. The cipher text should look like this:

N H K K R E K H Y A U K I E K X/Z E X/Z


Deciphering the cipher:
-----------------------------

Deciphering this cipher is as simple as doing all the steps in reverse.
Firstly, and most obviously, it is a requirement that your have the
exact same Polybius Square that was used to create the cipher. So, in
order to decipher it, you write down the letters for each number, split
the number string in half and place the second half below the first, and
then find the corresponding letter by working vertically down the
columns of numbers you have created.

I hope this has been interesting and insightful.


Peace,

~o invas10n o~
[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)
famous0123, Galagatron, junaid_junaid59, psychomarine, 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