Bill Williams (IT): Support Site
Bill Williams (IT): Support Site

adv20_340.gif
[home] | [profile] | [register] | [help] | [Contact Us]

[Sections]
[Security Tips]
       this page
Security Tips   [Tell someone about this]
By Codes, Cyphers and Cryptograhy
Bill Williams


Edit MessageUploaded - 26 Nov 2012 15:19

One of the best easy-read books on the subject is: "The Code Book" by Simon Singh ISBN 1-85702-879-1 Published in 1999 by "Fourth Estate, London". I got my copy from an Oxfam Bookshop so there might be later editions by now. A friend of mine has a slightly different edition.

Simon Singh is an author & TV porducer rather than an actual code-maker or code-breaker, but he did extensive research to produce this book. I was on his emailing list some time ago, but that seems to have dropped off now, probably due to the advance of Twitter.

A few minutes ago I went to visit his website
http://simonsingh.net/ Link
and from the Cryptography menu item, near the top, you can visit the relevant pages.


I'm at the moment downloading the CD-ROM add-on for the book, containing lots of nice tools and an Enigma animation and simulator.

In turn he also has provided a page of links to other Codes & Cyphers pages:
http://simonsingh.net/cryptography/crypto-links/ Link

Bill.

Revised on 26 Nov 2012

Bill Williams


Edit MessageUploaded - 26 Nov 2012 16:27

A few simple explanations:

An Alphabet is a set of symbols used to write down thoughts, speech, actions, news, declarations, messages etc. Different spoken languages have different alphabets to write them down. We are generally used to the "Roman" Alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ and its lower case equivalents, in which these forum messages are written and displayed.

A Code is, usually, a means of converting the symbols of an alphabet into a different format, often for transmission purposes. Thus MORSE CODE is a means of presenting the alphabet as sequences of dots and dashes for transmission by the simplest of radio or wire signals OFF/ON. The Telegraph Code was much the same thing but designed for use by machines. it is a sequence of ONs and OFFs each of fixed time length and the presence or absence of the signal in those fixed intervals constitutes the code. The original had 5 intervals with variable On/Offs (we call these BITs) and so could have 32 different codes, 26 used for the letters of our Roman alphabet and the others used for punctuation symbols.

Later telegraph codes have 7 or 8 bits, so can code 128 or 256 symbols. The relationship between codes and symbols were standardised long ago first as ASCII (American Signal Code for Information Interchange) and with more recent additions to the specifications is the 8-bit code that is used in our computers to represent alphabetic symbols and punctuation.

Codes are usually open knowledge, thus anyone has access to the code definition so anyone can translate a coded message into the alphabet to read it.

However a second use of our word CODE is to create a 'secret' dictionary whereby a single word or number is used to stand for an unrelated concept. This enables secret communication between individuals who have copies of the Code List (usually called a code-book), often used for wartime command signals.
So if I synthesise an example, we might have a code-book which contains among many others:


grave = 0
gross = 1
eyelid = 3
lout = 7
glider = cargo ship
ruffian = destroyer
shoe = battleship
label = attack
oblong = dawn

thus:
"Label Glider oblong gross eyelid lout grave"
transmitted, would actually mean
Attack cargo-ship dawn 1370
where 1370 is perhaps a numbered square on a naval chart.

The code-book system is clumsy and rendered useless if the 'enemy' captures a copy of the code-book as it is not easy to re-issue a new one to say a submarine at sea.

A CYPHER is a means of deliberately confusing the usual symbols (or codes) of an alphabet to render the message unreadable to anyone who does not know the KEY, which is the information about what confusion method was used. The simplest cypher dates back to Roman times and was used by Julius Caeser so it is known by that name. It consists of shifting the symbols of the alphabet along by a fixed number.

For example if the shift is 2 we can write down an encoding decoding sheet as


ABCDEFGHIJKLMNOPQRSTUVWXYZ
CDEFGHIJKLMNOPQRSTUVWXYZAB

To encypher (or encrypt) a message we write it down (plaintext). Then underneath each letter we write the letter shown below in the table above. thus:
VENI VIDI VICI becomes ciphertext: XGPK XKFK XKEK
to decrypt you perform the opposite action. Write down the ciphertext then find each letter on the bottom row of the table and write down the letter above it.

The Caeser cipher is easily broken either by knowing the average proportions of the number of times letters appear in the language of the plaintext or by brute force, there are only 26 possible coding sheets.

Bill.

Revised on 26 Nov 2012


To search for
a particular item or
a particular place
type a word or the
name of the place
in the find box near
the top of page
and click the
FIND button.

*

Home Page.

Click to Add Comments.
	
	
	
	
	
	
	

Implemented by Bill Williams (IT)
based on ASP Forum.

1678
adv20_340.gif