夜字法:路易斯·卡罗尔发明的一种置换密码
Nyctography: A substituton cypher by Lewis Carroll

原始链接: https://en.wikipedia.org/wiki/Nyctography

“夜写板”(nyctograph)由刘易斯·卡罗尔于1891年发明,是一种书写工具及配套的替换密码,旨在让使用者在完全黑暗的环境中记录笔记。出于深夜记录灵感时点灯的不便,卡罗尔设计了一套系统,使他能够在卧床时进行书写。 该装置由一张带有四分之一英寸方孔的卡片组成。使用者在这些方格内书写,所用的特定字母表中的每个字符都由线条构成,并规定在左上角必须有一个大黑点,以标示字母的起点。这种基于网格的方法确保了字迹的可辨认性,因为这些字符在视觉上被设计为与标准字母相似。 该系统包含了26个字母的字符,以及常用词、数字和日期的符号。它最初被称为“盲文写字板”(typhlograph,暗示其对盲人有潜在用途),后更名为“夜写板”(nyctograph),取自希腊语中的“夜晚”一词。通过提供一种无需光照、便携且具有触感的记录灵感方法,卡罗尔为随时随地捕捉思绪提供了一个独特的解决方案。

最近,Hacker News 上关于刘易斯·卡罗尔(Lewis Carroll)“夜写术”(Nyctography)的讨论引发了用户们的共鸣,大家纷纷分享了自己使用秘密代码和替换加密法的经历。许多参与者回忆起年少时学习虚构或历史字母表的往事,例如托尔金的色斯(Cirth)卢恩字母、游戏《晨风》中的魔族语(Daedric script)、猪圈密码(Pigpen cipher),以及《创世纪》(Ultima)系列中的符文语言。 参与者们回味了使用这些代码传纸条,或尝试制作自制纸板加密盘等“无法破解”加密工具的乐趣。尽管随着时间的推移,许多人已淡忘这些技能,甚至无法解读自己旧日记里的内容,但这一讨论凸显了人们对密码学、语言学以及“秘密”交流乐趣的共同向往。讨论还涉及了这些工具的实际构建,认为创造并掌握这些系统的过程,往往比其实际用途更令人满足。
相关文章

原文

Simple substitution cipher

Reconstructed nyctograph, with scale demonstrated by a 5 euro cent.

Nyctography (in Nyctography: ) is a form of substitution cipher writing created by Lewis Carroll (Charles Lutwidge Dodgson) in 1891. It is written with a nyctograph (a device invented by Carroll) and uses a system of dots and strokes all based on a dot placed in the upper left corner. Using the Nyctograph, one could quickly jot down ideas or notes without the aid of light. Carroll invented the Nyctograph and Nyctography as he was often awakened during the night with thoughts that needed to be written down at once, and didn't want to go through the lengthy process of lighting a lamp only to have to then extinguish it.

The device consisted of a gridded card with sixteen square holes, each a quarter inch wide, and system of symbols representing an alphabet of Carroll's design, which could then be transcribed the following day.

He first named it "typhlograph" from typhlos ("blind"), but at the suggestion of one of his brother-students,[clarification needed] this was subsequently changed into "Nyctograph" from nyctos (night)[1]

Initially, Carroll used an oblong of card with an oblong cut out of the centre to guide his writing in the dark.[1] This did not appear to be satisfactory as the results were illegible. The new and final version of the nyctograph is recorded in his journal of September 24, 1891, and is the subject of a letter to The Lady magazine of October 29, 1891:

Any one who has tried, as I have often done, the process of getting out of bed at 2 a.m. in a winter night, lighting a candle, and recording some happy thought which would probably be otherwise forgotten, will agree with me it entails much discomfort. All I have now to do, if I wake and think of something I wish to record, is to draw from under the pillow a small memorandum book containing my Nyctograph, write a few lines, or even a few pages, without even putting the hands outside the bed-clothes, replace the book, and go to sleep again. … I tried rows of square holes, each to hold one letter (quarter of an inch square I found a very convenient size), and this proved a much better plan than the former; but the letters were still apt to be illegible. Then I said to myself ‘Why not invent a square alphabet, using only dots at the corners, and lines along the sides?’ I soon found that, to make the writing easy to read, it was necessary to know where each square began. This I secured by the rule that every square-letter should contain a large black dot in the N.W. corner. … [I] succeeded in getting 23 of [the square-letters] to have a distinct resemblance to the letters they were to represent. Think of the number of lonely hours a blind man often spends doing nothing, when he would gladly record his thoughts, and you will realise what a blessing you can confer on him by giving him a small ‘indelible’ memorandum-book, with a piece of paste-board containing rows of square holes, and teaching him the square-alphabet.

[2]

From the description it appears that Carroll's nyctograph was a single row of 16 boxes cut from a piece of card. Carroll would enter one of his symbols in each box, then move the card down to the next line (which, in the darkness, probably, he would have to estimate) and then repeat the process.

Nyctographic alphabet

[edit]
Lewis Carroll's nyctographic alphabet

Each character had a large dot or circle in the upper-left corner. Beside the 26 letters of the alphabet, there were five additional characters for 'and', 'the', the corners of the letter 'f' to indicate that the following characters were digits ('figures'), the corners of the letter 'l' to indicate that they were letters, and the corners of the letter 'd' to indicate that the following six characters were a date in DDMMYY format. There was no capitalization, punctuation or digits per se, though modern font designers have created them (e.g. capitals may be double-scored, punctuation marks may have the large dot at the bottom right corner, digits at the bottom left). Like in Braille, numbers were indicated by letters preceded by a digit character. The values were taken from his Memoria Technica, which assigned two consonants to each digit, with vowels unassigned, so that any number could be read off as a word.

联系我们 contact @ memedata.com