THE CRYPTO ENCYCLOPEDIA — VOLUME I

Cryptography

Article 5 of 250 Foundations 1,513 words

Encyclopedia Classification

Category: Computer Science • Security • Blockchain Technology

Discipline: Mathematics • Information Security • Digital Systems

Prerequisites

Related Articles

Encryption • Hash Functions • Digital Signatures • Public Keys • Private Keys • Wallets • Blockchain • Bitcoin • Zero-Knowledge Proofs • Cybersecurity


Definition

Cryptography is the science of protecting information using mathematics so that data can remain secure, private, authentic, and verifiable.

In cryptocurrency, cryptography allows people to prove ownership, authorize transactions, and secure decentralized networks without relying on a central authority.


Beginner Explanation

Imagine you have a diary.

You do not want anyone else reading it.

You could:

  • Hide it in a locked box.
  • Give only yourself the key.
  • Create a secret code only you understand.

Cryptography is the digital version of these ideas.

It allows computers to:

  • Lock information.
  • Prove identity.
  • Verify ownership.
  • Detect changes.
  • Communicate securely.

Why Cryptography Matters in Crypto

The word cryptocurrency comes from:

Crypto \= hidden or secret

Currency \= money

Cryptography is one of the main technologies that makes cryptocurrency possible.

Without cryptography, decentralized digital money would not work.


The Problems Cryptography Solves

Cryptography solves several fundamental problems.


1. Confidentiality

Question:

How do we keep information private?

Example:

You send a message online.

How do you prevent strangers from reading it?

Cryptography uses encryption to scramble information so only authorized people can understand it.


2. Authentication

Question:

How do we prove someone is who they claim to be?

Example:

How does a blockchain know that the owner of a wallet approved a transaction?

Digital signatures provide proof.


3. Integrity

Question:

How do we know information was not changed?

Example:

How can we detect if someone modified a transaction?

Hash functions create fingerprints that reveal changes.


4. Non-Repudiation

Question:

How do we prevent someone from denying they approved something?

Digital signatures provide mathematical evidence that a specific key authorized an action.


History of Cryptography

Cryptography is thousands of years old.

Humans have always needed ways to protect information.


Ancient Cryptography

Caesar Cipher

One of the earliest known encryption methods.

Used by Julius Caesar.

Letters were shifted by a fixed number of positions.

Example:

A becomes D.

B becomes E.

This was simple but effective against people who did not know the method.


Classical Cryptography

Over time, civilizations developed more advanced systems.

Examples:

  • Substitution ciphers
  • Transposition ciphers
  • Mechanical encryption devices

Modern Cryptography

Modern cryptography relies heavily on mathematics.

Computers allow extremely complex systems that would be impossible to perform manually.

Modern cryptography includes:

  • Symmetric encryption
  • Asymmetric encryption
  • Hash functions
  • Digital signatures
  • Zero-knowledge proofs

Two Major Types of Cryptography

Symmetric Cryptography

Uses the same key for encryption and decryption.

Example:

A lockbox where the same key locks and unlocks it.


Advantages

  • Fast
  • Efficient
  • Good for large amounts of data

Disadvantage

The key must be securely shared.

If someone steals the key, they can access the information.


Asymmetric Cryptography

Also called public-key cryptography.

Uses two related keys:

  • Public key
  • Private key

Public Key

Can be shared openly.

Used to:

  • Receive information
  • Verify signatures

Private Key

Must remain secret.

Used to:

  • Sign transactions
  • Prove ownership

Simple Example

Imagine a mailbox.

The mailbox address is public.

Anyone can send letters there.

But only the person with the key can open it.

Public key:

Mailbox address

Private key:

Mailbox key


Cryptography in Cryptocurrency

Cryptocurrency uses several cryptographic technologies together.

These include:

  • Public-key cryptography
  • Digital signatures
  • Hash functions
  • Merkle trees
  • Consensus mechanisms

Together they create secure decentralized networks.


Public-Key Cryptography

Public-key cryptography is one of the most important concepts in crypto.

A wallet does not store coins.

A wallet stores cryptographic keys.

The blockchain records ownership.

The private key proves control.


Digital Signatures

Definition

A digital signature is a mathematical proof that a specific private key approved a message or transaction.


Beginner Explanation

Imagine signing a check.

Your handwritten signature tells the bank:

"This came from me."

A digital signature performs the same function using mathematics.


In Cryptocurrency

When you send Bitcoin:

  1. You create a transaction.
  2. Your wallet signs it using your private key.
  3. The network verifies the signature.
  4. The transaction is accepted if valid.

Your private key is never revealed.


Hash Functions

Definition

A hash function converts information of any size into a fixed-length output called a hash.


Beginner Explanation

A hash is like a digital fingerprint.

Every document has a unique fingerprint.

Change one tiny detail:

The fingerprint changes completely.


Properties of Good Hash Functions

A cryptographic hash function should have:


Deterministic Output

The same input always creates the same hash.


Fast Calculation

Computers can quickly create hashes.


One-Way Function

It should be extremely difficult to reverse the hash back into the original information.


Collision Resistance

It should be extremely unlikely that two different inputs create the same hash.


Examples of Hash Functions

SHA-256

Used by Bitcoin.

Creates a 256-bit output.


SHA-3

A newer cryptographic hash family.


Keccak-256

Used by Ethereum.


Hashing in Blockchain

Hashing provides:

  • Transaction verification
  • Block linking
  • Data integrity
  • Mining security

Each block contains the previous block's hash.

Changing an old block changes every following hash.

This makes tampering extremely difficult.


Cryptographic Keys

A key is a piece of information used by cryptographic systems.


Private Key

Definition

A secret number used to control cryptocurrency ownership.


Importance

Anyone with the private key can authorize transactions.

Protecting private keys is one of the most important responsibilities in crypto.


Public Key

Definition

A cryptographic value derived from a private key and used for verification.


Address

Definition

A blockchain-specific representation derived from public key information.

Used to receive assets.


Seed Phrase

Definition

A human-readable backup representing the cryptographic information needed to restore a wallet.


Cryptography and Bitcoin

Bitcoin combines:

  • SHA-256 hashing
  • Elliptic curve cryptography
  • Digital signatures
  • Proof of Work

These technologies allow a decentralized network to operate without a central authority.


Cryptography and Ethereum

Ethereum uses cryptography for:

  • Wallet ownership
  • Transaction signing
  • Smart contract interactions
  • Network security

Ethereum also supports advanced cryptographic research including zero-knowledge technologies.


Zero-Knowledge Cryptography

Definition

A method allowing one party to prove something is true without revealing the underlying information.


Simple Example

You want to prove you know a password.

You do not tell anyone the password.

You prove mathematically that you know it.


Why It Matters

Zero-knowledge technology may improve:

  • Privacy
  • Blockchain scalability
  • Identity systems

Cryptography Does Not Guarantee Everything

Cryptography is powerful, but it does not solve every problem.

It cannot prevent:

  • Users losing passwords
  • Phishing attacks
  • Poor software design
  • Fraudulent projects
  • Human mistakes

The technology protects information.

It does not eliminate human risk.


Common Misconceptions


"Encryption and cryptocurrency are the same thing."

False.

Cryptography is a broad field.

Cryptocurrency is one application of cryptographic technology.


"Crypto transactions are completely anonymous."

Usually false.

Most public blockchains are transparent.

Transactions are often pseudonymous rather than anonymous.


"A private key is like a password."

Only partially.

Passwords can often be reset.

A private key generally cannot.


"Quantum computers will instantly destroy crypto."

Oversimplified.

Quantum computing presents future challenges, but cryptographers are actively researching quantum-resistant methods.


Real-World Applications Beyond Crypto

Cryptography protects:

  • Online banking
  • Password systems
  • Messaging applications
  • Military communications
  • Medical records
  • Digital identity systems
  • Software updates
  • Internet security

Key Takeaways

  • Cryptography is the mathematical foundation of digital security.
  • Cryptocurrency depends on cryptography for ownership and verification.
  • Private keys control assets.
  • Public keys allow verification.
  • Hash functions protect blockchain integrity.
  • Digital signatures authorize transactions.
  • Cryptography changes trust from institutions toward mathematical verification.

  • Blockchain
  • Distributed Systems
  • Digital Signatures
  • Hash Functions
  • Public Keys
  • Private Keys
  • Wallets
  • Bitcoin
  • Ethereum
  • Zero-Knowledge Proofs
  • Consensus Mechanisms
  • Proof of Work
  • Proof of Stake
  • Cybersecurity

Encyclopedia Notes

Cryptography is one of the foundational pillars of the entire crypto ecosystem. Before understanding blockchains, wallets, mining, smart contracts, or decentralized finance, a reader must understand that crypto is fundamentally a system for creating digital ownership and verification through mathematics.