Protecting Stored Data with Cryptography · Protegendo Dados Armazenados com Criptografia
| English | Português |
|---|---|
| cryptography/krɪpˈtɒɡrəfi/ | criptografia |
| plaintext/ˈpleɪntekst/ | texto simples |
| key/kiː/ | chave |
| ciphertext/ˈsaɪfətekst/ | texto cifrado |
| keyspace/ˈkiːspeɪs/ | espaço de chaves |
| symmetric encryption/sɪˈmetrɪk enˈkrɪpʃn/ | criptografia simétrica |
| AES/ˌeɪ iː ˈes/ | AES |
| block cipher/blɒk ˈsaɪfə/ | cifra de bloco |
Encryption basics
- Cryptography 密码学 hides information.
- Encryption combines plaintext 明文 with a key 密钥 to make ciphertext 密文.
- The keyspace 密钥空间 is the number of possible keys — an n-bit key has $2^n$.
Fundamentos de criptografia
- Criptografia 密码学 esconde informações.
- Criptografia combina texto claro 明文 com uma chave 密钥 para criar texto cifrado 密文.
- O espaço de chaves 密钥空间 é o número de chaves possíveis — uma chave de n bits tem $2^n$.
Symmetric encryption
- Symmetric encryption 对称加密 uses the same key to encrypt and decrypt.
- The standard is AES 高级加密标准, a block cipher 分组密码.
- Both sides need the same secret key — sharing it safely is the challenge.
Criptografia simétrica
- Criptografia simétrica 对称加密 usa a mesma chave para criptografar e descriptografar.
- O padrão é AES 高级加密标准, um cifra de bloco 分组密码.
- Ambos os lados precisam da mesma chave secreta — compartilhar essa chave com segurança é o desafio.
Symmetric encryption uses... · A criptografia simétrica usa...
Symmetric = one shared key. · Simétrica = uma chave compartilhada.
The standard modern symmetric block cipher is... · O padrão moderno de criptografia por blocos simétrica é...
AES is the symmetric standard. · AES é o padrão simétrico.
The scrambled output of an encryption algorithm is called ____. · A saída embaralhada de um algoritmo de criptografia é chamada ____.
Encryption turns plaintext into ciphertext. · A criptografia transforma texto claro em texto cifrado.
Bigger keys, more security
- A larger keyspace takes an adversary longer to guess.
- Longer keys are more secure but slower.
- AES works on 128-bit blocks and secures Wi-Fi, browsing, and files.
Chaves maiores, mais segurança
- Um espaço de chaves maior leva mais tempo para um adversário adivinhar.
- Chaves mais longas são mais seguras, mas mais lentas.
- AES funciona com blocos de 128 bits e protege Wi-Fi, navegação e arquivos.
Symmetric encryption is fast and strong, but it has one hard problem: both sides must already share the same secret key. Sending that key over an insecure channel would expose it — which is exactly what asymmetric cryptography solves next.
A criptografia simétrica é rápida e forte, mas tem um grande problema: ambos os lados já devem compartilhar a mesma chave secreta. Enviar essa chave por um canal inseguro a exporá-la — o que a criptografia assimétrica resolve na sequência.
Encrypt by shifting letters · Criptografar desloquando letras
Encryption combines plaintext with a key. Here the key is the shift amount; only someone who knows it can decrypt. · A criptografia combina texto claro com uma chave. Aqui a chave é o valor do deslocamento; apenas quem a conhece pode descriptografar.
A larger keyspace makes an encryption key harder to guess. · Um espaço de chaves maior torna mais difícil adivinhar uma chave de criptografia.
More possible keys = more guessing time. · Mais chaves possíveis = mais tempo para adivinhar.
How many possible keys does a 4-bit key have? (2^4) · Quantas chaves possíveis tem uma chave de 4 bits? (2^4)
$2^4 = 16$ possible keys. · $2^4 = 16$ chaves possíveis.
A simple Caesar cipher shifts each letter by a fixed key. With key = 3, CAT becomes FDW. Only someone who knows the shift (the key) can turn FDW back into CAT. Real algorithms like AES use far larger keyspaces, but the idea is the same.
Um cifrário César simples desloca cada letra por uma chave fixa. Com key = 3, CAT vira FDW. Apenas quem conhece o deslocamento (a chave) pode transformar FDW de volta em CAT. Algoritmos reais como AES usam espaços de chaves muito maiores, mas a ideia é a mesma.
Cryptography turns plaintext into ciphertext using a key. A bigger keyspace ($2^n$ for an n-bit key) is harder to break. Symmetric encryption (e.g. AES) uses one shared key — fast and strong, but the shared key must be exchanged safely.
Criptografia transforma texto claro em texto cifrado usando uma chave. Um espaço de chaves maior ($2^n$ para uma chave de n bits) é mais difícil de quebrar. Criptografia simétrica (ex. AES) usa uma chave compartilhada — rápida e forte, mas a chave compartilhada deve ser trocada com segurança.