作者FlyinDeath (死之舞)
看板translator
标题Re: [问题] 问一个单字
时间Mon Jun 19 21:02:44 2006
※ 引述《armopen (考个没完)》之铭言:
: 这篇文章是在讲「如何编密码和解码」,
: (1) 第一个问题是同样是密码,有两个单字 cipher 和 code 的中文要如何区别?
: 还是只能从文章的内容来辨别?
http://library.thinkquest.org/04oct/00451/codeandcipherbasics.htm
Codes and ciphers are not the same thing. When you write a message in code
you replace words, phrases, or messages by different words, letters, or
symbols. When you translate the message into code it is called encoding.
Ciphers, on the other hand, translate every single letter, number, or symbol
with a different letter, number, or symbol.
简单来说code比较接近「文字谜」或是黑话、暗语等等(例如Da Vinci Code)
而cipher比较偏向数学的作法(例如Enigma、DES或是AES)
不过语言运用上code跟cipher之间的界线其实并不那麽清楚
例如Caeser Cipher也被称为Caesar Code
--
╭洄澜夜月──────────────╮
│
http://www.wretch.cc/blog/flyindeath│
╰──────────────────╯
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.217.94.55
※ 编辑: FlyinDeath 来自: 61.217.94.55 (06/19 21:04)