|
Cryptology
- Borland C++ Builder 6 Applications |
|||||
|
Transposition Ciphers The Turning Grille - "Apparatus for Cypher Correspondence" Patented #1163, 1875. Click on any image for an enlargement. (The letter "b" in the diagram simply represents a hinge.) The circular holes are cut out of the card. The message is written, one letter per hole, until all the holes are filled. Then the card is turned clockwise ninety degrees and the message is continued. The card can be turned four times. (Note the Roman numerals in the lower right hand corner.) |
|||||
|
Substitution Ciphers |
|||||
|
An Enigma Machine Simulator This fantastic simulator was written
by Dirk Rijmenants http://users.telenet.be/d.rijmenants/en/enigmasim.htm (I wish we could claim credit for
it, but alas we had nothing |
|||||
![]() |
A Simple Cipher Slide Rule |
||||
|
Although this messages
looks like cleartext, it is, in fact, a cipher: |
Alphabetic One-Time-Key (Vernam Cipher)
|
||||
|
Decipher this: |
U.S. Army Cipher Device M-94 AN EVOLUTIONARY DECRYPTION of a cyphertext might be found by modifying the Evolutionary Concert Tour application. The two systems are analogous: Finding the correct cleartext is a matter of finding the "fittest" (c.f. "shortest") arrangement of the 25 disks (c.f. "path through the 30 cities). The fitness of any disk order might be measured by the comparing the letter frequency of each line of text in that disk order to that of standard English. One might then choose the closest match as the fitness of that disk order. In this way we might be able to evolve a solution to the cyphertext. |
||||
|
ASCII / Decimal / Byte Conversions
|
|||||
|
Only use bitmap (.bmp) images. There should be enough code in the applications on this page to complete this project.
|
A Hybrid Steganographic Image Vernan
Cipher (unfinished) A Clear Image is included to demonstrate the embedding of Clear Test in an image without encipherment. This, of course, is a much less secure alternative |
||||
|
Hiding Text in Images Since the bitmap (.bmp) is the simplest uncompressed image file format, it should also be the simplest image format to to hide text in, making our programming efforts a little easier. Some drawbacks are that the file sizes are enormous and that bitmaps are not universally supported by Web browsers and Operating Systems. All works well with Windows and Internet Explorer, Macintosh and Firefox, as well as Linux and both Firefox and Konqueror. Clearly, the first step documented below is hardly hidden, but it does demonstrate a pixel interpretation of ASCII text. Not surprisingly, since ASCII characters range from 0-127, and the red, green and blue primaries range from 0-255, the colors of the ASCII characters are dark. So any image containing such a randomly dark texture is a dead give-away that there is text inside. We note that there is one piece of software offered for sale on the Web that hides text in images using a password. However, the image files grow by the size of the text and password added. Again, any image file that is substantially larger than it should be should be a dead give-away that there is text hidden inside. |
|||||
|
A Tribute to Herbert
O. Yardley This exhibit details the checkered career of Herbert O. Yardley (1889-1958), who headed the highly secret MI-8, or the "Black Chamber." Yardley began his career as a code clerk with the U.S. State Department, and during that service discovered his natural talent as a cryptanalyst. During World War I, Yardley served in the cryptologic section of Military Intelligence (MI) with the American Expeditionary Forces. After the war, Yardley lead the first peacetime cryptanalytic organization in the United States, MI-8. Funded by the Army and the State Department, MI-8, was disguised as a New York City company that made commercial codes for businesses. However, their actual mission was to break the diplomatic codes of different nations. A mission they were initially quite successful at completing, breaking codes from several foreign countries. MI-8 had an early success: in 1921-22, Yardley and his staff solved the cipher system used by Japanese negotiators at the Washington Naval Conference. They fed the decrypts to the U.S. chief negotiator, Charles Evans Hughes. The messages contained the Japanese’s minimum demands at the conference. Hughes appeared to be outsmarting the Japanese to obtain a more favorable agreement on naval capital ships, when actually he was reading their negotiating position every day before he went into the bargaining sessions. In 1929, the State Department closed down MI-8. According to legend, Secretary of State Henry Stimson at that time spoke the famous sentence: “Gentlemen do not read each other’s mail.” Disappointed, unemployed, and accustomed to luxury, Yardley found himself in need of finances and in possession of his country’s secrets. He wrote The American Black Chamber, which revealed to the world the work of MI-8. It became an international best seller. Needless to say, the Army, which continued codebreaking, was not amused. And the Japanese, for their part, changed their code systems. Surprisingly, at the time, the wording of the espionage laws contained a loophole that prevented the government from prosecuting Yardley. Yardley, a brilliant cryptanalyst, as well as a promoter of the cryptologic cause, continued to provide expertise to various countries, but never again worked for the United States. |
Herbert O. Yardley A .jpg
image. |
![]() |
|||
|
Herbert O. Yardley A .bmp
image. |
![]() |
||||
|
Herbert O. Yardley A .bmp
image with the text at left inserted at the bottom of the .bmp file using
SynEdit. The text appears at the top of the image as a somewhat random
texture. |
![]() |
||||
![]() |
An enlargement of the top of the image of Yardley showing the inserted text rendered as red, green and blue color triplets (pixels). | ||||
|
|
A portion of the bitmap (.bmp) image file with text inserted as seen in the binary/hexadecimal SynEdit editor. The division between true pixel triplets and ASCII text is delineated in red. |
||||