substitution cipher
英 /ˌsʌbstɪˈtjuːʃən ˈsaɪfə/美 /ˌsʌbstɪˈtuʃən ˈsaɪfər/
n. 名词词组
替换密码;代换密码
一种将明文中的每个字符按固定规则替换为其他字符的加密方法。substitution cipher 指替换密码,是古典密码学中的一类加密方法:按照预先确定的规则,将明文中的每一个字符(字母、数字或符号)替换为另一个字符,接收方依据逆规则还原明文。常用搭配有 simple substitution cipher、monoalphabetic substitution cipher、polyalphabetic substitution cipher 等。
核心含义
substitution cipher 指替换密码,是古典密码学中的一类加密方法:按照预先确定的规则,将明文中的每一个字符(字母、数字或符号)替换为另一个字符,接收方依据逆规则还原明文。本义强调“逐个字符的替换”,与“换位密码”(transposition cipher,仅改变字符顺序而不改变字符本身)相对。引申义方面,该词组本身较少引申,但在密码分析文献中常用来泛指任何基于字符映射的加密体制,并与“多表替换”(polyalphabetic substitution)、“单表替换”(monosubstitution)等术语构成层级概念。其核心关系是:本义为具体的字符替换操作,引申为描述一类加密算法的类别名称。
构词与来源
substitution 源自拉丁语 substituere(sub-“在下、代替” + statuere“放置、设立”),意为“放在下面、替代”;cipher 源自阿拉伯语 ṣifr(“零、空”),经中世纪拉丁语 cifra 进入英语,最初指“零”,后转指“密码、暗号”。构词逻辑为“替换 + 密码”,即通过替换字符实现加密的密码。记忆时可拆分为 substitution(替换)与 cipher(密码),并联想“用别的字母替换原字母”的核心操作。
什么场合用
该词组主要用于学术写作与专业文献,如密码学教材、信息安全论文、数学科普文章,语气正式、中性。在新闻报道中,涉及历史密码或网络安全事件时也会出现,但通常附带简要解释。日常口语中极少使用,若出现多带科普或教学色彩。法律文本中几乎不用,除非涉及加密技术的法规描述。文学作品中偶见于侦探小说或间谍题材,用以营造技术氛围。总体而言,它是术语性较强的固定搭配,不用于商务邮件或随意交谈。
句法要点
substitution cipher 为可数名词词组,复数形式为 substitution ciphers。常见句型:①“X is a substitution cipher”(X 是一种替换密码);②“use/break a substitution cipher”(使用/破译替换密码);③“a substitution cipher with a key”(带密钥的替换密码)。易错点:不可数化误用(如不说“a substitution cipher of”表示“一种……的替换密码”时应说“a type of substitution cipher”);与 transposition cipher 混淆,后者不改变字符本身;修饰语 substitution 为名词作定语,通常不加 -al 形式(substitutional 较少用于此搭配)。
近义词对比
与 substitution cipher 相近的词组有 transposition cipher(换位密码),后者仅重新排列字符顺序,不替换字符;code(代码/电码)指将整个词或短语映射为另一符号,单位大于单个字符;cipher 泛指加密算法或密文,substitution cipher 是其子类。在需要强调“逐字符替换”时用 substitution cipher;若强调“打乱顺序”则用 transposition cipher;若指“整词替换”则用 code。日常中 cipher 可单独使用,但 substitution cipher 更精确、学术化。
需要留意
语域偏高,属专业术语,适合学术或技术语境,不宜在口语中随意使用。褒贬色彩中性,无感情倾向。常见误用包括:将 substitution cipher 与“替换密码”以外的加密方法混为一谈;误写为“substitutional cipher”(虽偶见,但标准术语为 substitution cipher);在非技术语境中过度使用导致理解困难。建议首次出现时给出简要定义,后续可简称为 cipher。
固定搭配
- simple substitution cipher简单替换密码
- monoalphabetic substitution cipher单表替换密码
- polyalphabetic substitution cipher多表替换密码
- break a substitution cipher破译替换密码
- use a substitution cipher使用替换密码
- substitution cipher with a key带密钥的替换密码
- classical substitution cipher古典替换密码
实用例句
A Caesar cipher is a simple substitution cipher in which each letter is shifted by a fixed number of positions.
The cryptanalyst used frequency analysis to break the substitution cipher.
Unlike a transposition cipher, a substitution cipher replaces each character without changing its position.
The textbook introduces substitution ciphers before discussing more complex encryption schemes.
In the spy novel, the protagonist deciphers a substitution cipher hidden in the newspaper.