IFCCI

Digital Signatures & Bitcoin Transactions

What is Encryption?

2 分钟阅读第 2 课,共 11 课
18%

学习目标

  1. 1Define encryption and understand its role in protecting data
  2. 2Distinguish between symmetric and asymmetric encryption
  3. 3Understand the concept of encryption keys and how they secure information
  4. 4Recognize how encryption relates to digital signatures in cryptocurrencies

To Understand Digital Signatures, First Understand Encryption

Before diving into how digital signatures work in cryptocurrencies like Bitcoin, it’s important to understand the concept of encryption, which is a core principle in cryptography.

What Is Encryption?

Encryption is the process of transforming readable data (called plaintext) into an unreadable format (called ciphertext) using a set of rules known as an algorithm or cipher.

This makes the message look like a bunch of random, meaningless characters—protecting it from anyone who isn’t supposed to see it.

Only someone with the correct key can reverse this process and turn the ciphertext back into readable plaintext through a process called decryption.

Why Use Encryption?

Encryption ensures that private data stays private. For example, if you send a message that’s encrypted, anyone who intercepts it will just see gibberish—unless they have the key to decrypt it.

So, encryption protects your message from unauthorized access by hiding the actual content.

Two Main Types of Encryption

There are two major types of encryption, depending on how the keys are used:

1. Symmetric Encryption

  • Uses the same key to encrypt and decrypt data.
  • Both the sender and the receiver must share this secret key.
  • Simple but risky if the key is exposed.

2. Asymmetric Encryption

  • Uses two different keys: a public key and a private key.
  • One key encrypts the message, and the other key decrypts it.
  • The public key can be shared openly, while the private key is kept secret.

Keys in Encryption

A key is just a very large number (or a complex string) used in the encryption/decryption process. In asymmetric encryption, the two keys are mathematically linked but serve different purposes.

Why This Matters for Bitcoin

Cryptocurrencies like Bitcoin only use asymmetric encryption.

Understanding this form of encryption is essential because digital signatures rely on it. Your private key allows you to create a digital signature, and others use your public key to verify it—proving that you’re the rightful owner of the funds without ever revealing your private key.

Summary

  • Encryption hides information by turning readable data into unreadable data.
  • Decryption restores that information back to its original form.
  • Symmetric encryption uses one shared key; asymmetric encryption uses a public/private key pair.
  • Bitcoin and other cryptocurrencies rely on asymmetric encryption to secure transactions and prove ownership through digital signatures.

核心要点

  1. 1Encryption transforms readable plaintext into unreadable ciphertext using an algorithm, and only someone with the correct key can decrypt it
  2. 2Symmetric encryption uses the same key for both encrypting and decrypting, while asymmetric encryption uses two different but mathematically linked keys
  3. 3A key in encryption is a large random number used as an input to the encryption algorithm to scramble or unscramble data
  4. 4Understanding encryption is foundational to understanding how digital signatures work in Bitcoin and other cryptocurrencies

Knowledge Check

1. What is the fundamental difference between symmetric and asymmetric encryption?