Welcome Guest [Log In] [Register]
Welcome to Crypto. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Tutorial: Identifying A Cipher
Topic Started: Dec 18 2007, 09:31 AM (399 Views)
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
This will be the new tutorial about how to identify a cipher, If you have anything to add, please post a reply! I can't make this tutorial alone :P

Step one: visual identification

Sometimes you can see by the looks of the cipher what cipher it is.

  • ADFGVX Cipher: If you only see ADFGVX
  • ADFGX Cipher: If you only see ADFGX

Do not look at spacing if you see groups of words. The spacings are probably added manually and the true spaces have been removed.

Step two: frequency counting
In most languages one character appears more often than other characters. In English this is the 'e', then followed by 'taoi'.

Some ciphers replace one character with another and this causes the frequencies to change. For example, if you replace the 'e' with a 'z' in a text, the z has an abnormally high frequency. If you find that the frequency of your cipher text differs much from this table

Posted Image

You're probably dealing with a substitution cipher.

Note: This method works better if you've got a long cipher text. In short texts the frequencies may be really different. Example: That man is a qualified waiter.

to be continued
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
Paarth Dave
Advanced Member
[ *  *  * ]
What if the ADFGVX text is converted to alphabets by the given corresponding locations in the ciphertext?

For example..let's take a random ADFGVX ciphertext.
DFGFFAXFXFAAGDAAAFGVXGFV

Now, if I convert DF into its location in the table and write its corresponding alphabet, then how will you identify if it is ADFGVX or not??

Cryptography Vanquished....
Offline Profile Quote Post Goto Top
 
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
Quote:
 
Now, if I convert DF into its location in the table and write its corresponding alphabet, then how will you identify if it is ADFGVX or not??


You don't really, but then again it's not the classic ADFGVX cipher anymore, because you've added a step.
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
s3c
Just registered
[ * ]
that's a pretty good idea, normal way of breaking it sort of breaks down when doing this, how would you break something like that?
Offline Profile Quote Post Goto Top
 
Revelation
Member Avatar
Administrator
[ *  *  *  *  * ]
Well, we are having a discussion about that in this topic.
RRRREJMEEEEEPVKLWENFNVJKEEEEEAOLKAFKLXCFZAASDJXZTTTTTTTLSIOWJXMOKLAFJNNKFNXN
RAGRBAQEMHIGDJVDSEOXVIYCELFHWLELJFIENXLRATALSJFSLCYTKLASJDKMHGOVOKAJDNMNUITN
RRRRLJVEEEEECLYVYHNVPFTAEEEEEMWLMEIRNGLARWJAKJDFLWNTIERJMIPQWOTZEOCXKNUBNXCN
RJIRPOWEANFUSNCZVDVZNMSFEKLOEPZLDKDJWSAAAAAAAOERHJCTNCKFRIMVKSOFOMKMANREWNBN
RZUDRGXEEEEENFQIDVLQNCKNEEEEEDGLLLLLLAWIOSNCDARLODMTOEJXMILDFJROTKJSDNLVCZNN
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · General · Next Topic »
Add Reply