Search for a tool
Dancing Men Cipher

Tool to decrypt/encrypt dancing men code (cipher used in the Sherlock Holmes book of the same name). A monoalphabetic substitution cipher made of little men displayed with legs and arms dancing.

Results

Dancing Men Cipher -

Tag(s) : Symbol Substitution

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Dancing Men Cipher' tool for free! Thank you!

Dancing Men Cipher

Dancing Men Decoder




Dancing Men Encoder

 




Answers to Questions (FAQ)

What is the Dancing Men Cipher? (Definition)

The story The Dancing Men is one of Arthur Conan Doyle's stories featuring the detective Sherlock Holmes. Published in December 1903, the plot revolves around strange drawings of dancing men mysteriously found in a mansion. By studying these messages, Sherlock Holmes discovers that the drawings are in reality a code, each little character represents a letter.

How to encrypt using Dancing Men cipher?

The Dancing Men cipher is a substitution cipher for a letter to a dancing man. Each letter corresponds to a different humanoid symbol that dances.

achar(97)bchar(98)cchar(99)dchar(100)echar(101)fchar(102)gchar(103)
hchar(104)ichar(105)jchar(106)kchar(107)lchar(108)mchar(109)nchar(110)
ochar(111)pchar(112)qchar(113)rchar(114)schar(115)tchar(116)uchar(117)
vchar(118)wchar(119)xchar(120)ychar(121)zchar(122)
dCode.fr

Example: SHERLOCK translates to char(115)char(104)char(101)char(114)char(108)char(111)char(99)char(107)

In Conan Doyle's short story, Sherlock Holmes indicates that the cipher uses a flag in the dancing men's hand to indicate the division of the sentence into words. Indeed, there is no space in the ciphertexts present in the story. When a flag is present, it indicates the end of the word and the beginning of a next one. There is no flag at the end of a sentence.

In his short story, Conan Doyle used only 18 symbols because there were only 18 letters needed for his codes. 8 letters (FJKQUWXZ) were not used and therefore have no known symbols. Also the P and the V use almost exactly the same symbol in the short story. dCode presents on this page the most common complete variant on the Internet (source unknown) with the letters F, J, K, Q, U, W, X, 'Z ' (which were created) and the P and V are slightly differentiated.

How to decrypt Dancing Men cipher?

Decryption of Dancing Men consists is a substitution of a dancing man with a letter.

Some men sometimes have a flag, in the original short story they indicate a word separator (or word ending).

In the short story, Sherlock Holmes uses the method of frequency analysis to determine that it is a monoalphabetic substitution.

How to recognize Dancing Men ciphertext?

The ciphered message is constituted of cryptograms with men/stick figures dancing or moving and having specific positions of legs and arms (and sometimes a flag in the hand).

In the book, stickman symbols are described as absurd little figures dancing across the paper.

All references to Sherlock Holmes or the elementary Doctor Watson (who however does not appear in the short story) are clues.

The characters of Cubitt and Abe Slaney appear in the short story.

What are the variants of the Dancing Men cipher?

There is no known variant, but the management of flags is sometimes hazardous and does not always indicate the end of a word.

When was Dancing invented?

Sir Arthur Conan Doyle's book has been published in 1903. The full stort is available here

Source code

dCode retains ownership of the "Dancing Men Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Dancing Men Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Dancing Men Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Dancing Men Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cita dCode

The copy-paste of the page "Dancing Men Cipher" or any of its results, is allowed (even for commercial purposes) as long as you cite dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Dancing Men Cipher on dCode.fr [online website], retrieved on 2024-03-29, https://www.dcode.fr/dancing-men-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Dancing Men Cipher' tool for free! Thank you!


https://www.dcode.fr/dancing-men-cipher
© 2024 dCode — El 'kit de herramientas' definitivo para resolver todos los juegos/acertijos/geocaching/CTF.
 
Feedback