加密
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| Encryption/enˈkrɪpʃn/ | 加密 | jiā mì |
| data/ˈdeɪtə/ | 数据 | shù jù |
| intercepted/ˌɪntəˈseptɪd/ | 拦截 | lán jié |
| plaintext/ˈpleɪntekst/ | 明文 | míng wén |
| ciphertext/ˈsaɪfətekst/ | 密文 | mì wén |
| symmetric/sɪˈmetrɪk/ | 对称 | duì chèn |
| asymmetric/ˌeɪsɪˈmetrɪk/ | 非对称 | fēi duì chèn |
| key/kiː/ | 密钥 | mì yào |
| Symmetric encryption/sɪˈmetrɪk enˈkrɪpʃn/ | 对称加密 | duì chèn jiā mì |
| secret key | 密钥 | mì yào |
| public key/ˈpʌblɪk kiː/ | 公钥 | gōng yào |
| private key/ˈpraɪvət kiː/ | 私钥 | sī yào |
| Asymmetric encryption/ˌeɪsɪˈmetrɪk enˈkrɪpʃn/ | 非对称加密 | fēi duì chèn jiā mì |
| internet/ˈɪntənet/ | 互联网 | hù lián wǎng |
打乱一条消息
- 加密会打乱数据,使数据在被截获时无法被理解。
- 可读的数据称为明文;打乱的数据称为密文。
- 加密有两种:对称加密和非对称加密。

加密能做什么和不能做什么
- 加密使用一个密钥把明文变成密文;解密时再把密文变回明文。
- 加密不阻止数据被截获,它只阻止被截获的数据被理解。

What does encryption achieve?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Encryption scrambles data so interception is useless — it does not prevent the interception itself.
对称加密
- 对称加密使用同一个密钥进行加密和解密。
- 发送方和接收方必须共享同一个秘密密钥。
- 风险:密钥本身可能在共享时被窃取。

A shift cipher (symmetric key)
Caesar's cipher shifts every letter forward by a fixed key. The SAME key encrypts and decrypts — that is what symmetric means. Slide the key and try to read it without knowing the shift.
Match each encryption term to its meaning.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Plaintext → (key) → ciphertext; symmetric shares one key, asymmetric uses a public/private pair.
Symmetric encryption uses:
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Symmetric uses one secret key that both sides must share — the risk is that key being stolen.
非对称加密
- 非对称加密使用两个密钥:一个公钥(任何人都可以拥有,用来加密)和一个私钥(需要保密,用来解密)。
- 用公钥加密的数据只能用与之匹配的私钥解密。
- 秘密密钥从不需要共享,所以非对称加密比对称加密更安全。
In asymmetric encryption, data is encrypted with the ____ key and decrypted with the ____ key.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The public key encrypts; only the matching private key can decrypt — so the secret key is never shared.
Asymmetric encryption needs the private key to be sent to everyone who wants to encrypt data for you.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
False. Only the public key is shared; senders encrypt with it, and the private key that decrypts never leaves the owner. Symmetric encryption is the kind where the one key must be shared.
例题:安娜给本发消息
安娜想使用非对称加密给本发送一条秘密消息。每个阶段分别使用哪个密钥?截获消息的伊芙为什么无法读懂它?
- 本把他的公钥提供给任何人。安娜用本的公钥加密明文,密文通过互联网传输。本用自己的私钥解密,私钥始终保存在他的电脑上。
- 伊芙可以复制密文,甚至可能拥有本的公钥,但公钥不能用于解密。没有本的私钥,这条消息就无法读懂。

Ben now replies to Ana. Which key should he use to encrypt his reply?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Encrypt with the receiver's public key; only the receiver's private key can then decrypt it.
Encrypting a file stops a hacker from intercepting it.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The hacker can still intercept it, but cannot understand it without the key.
你掌握了
- 加密使被截获的数据不可读(它不阻止截获)
- 明文 → 密文使用一个密钥
- 对称 = 一个共享的密钥(风险:共享它);非对称 = 公钥加密,私钥解密
- 非对称更安全,因为秘密密钥从不被共享
出了什么问题?只有网站团队能看到这些信息。