EnglishEnglish中文中文اَلْعَرَبِيَّةُاَلْعَرَبِيَّةُDeutschDeutschEspañolEspañolΕλληνικάΕλληνικάFrançaisFrançaisעִבְרִיתעִבְרִיתहिन्दीहिन्दीHrvatskiHrvatskiItalianoItaliano日本語日本語한국어한국어MalayMalayNederlandsNederlandsPortuguêsPortuguêsрусскийрусскийภาษาไทยภาษาไทยTürkTürkTiếng ViệtTiếng Việt粵語粵語
Learn
FAQs
Frequently asked questions by various stakeholders
Why Classic?
Start here to get the lowdown on Ethereum Classic's reason for being and unique value proposition
Knowledge
Further reading on the foundations that underpin ETC
Videos
A collection of videos and podcasts to keep you informed on ETC concepts and happenings
Support ETC by helping to translate this website!
Ethereum Classic Blog

Ethereum Classic Course: 1. Public Key Cryptography

Donald McIntyre
Education, Series

You can listen to or watch this video here:


Ethereum Classic and Cryptography

ETC Cryptography
ETC Cryptography

Ethereum Classic is part of an industry that many call the “cryptocurrency industry”. The prefix “crypto” refers to cryptography, which is part of the science of cryptology.

The reason why that prefix is used is because many parts and components of a network that supports a cryptocurrency are possible due to cryptographic functions.

In this 1st class of the Ethereum Classic Course we will discuss one of the most important components, which was actually the primary development that kick-started cryptographic security on the internet in general: Public Key Cryptography.

Cryptography Before: The Caesar Cypher

The Caesar Cypher
The Caesar Cypher

For thousands of years and until the discovery of public key cryptography, the only way to transfer secure encrypted messages between parties was that all participants needed to know the same secret key to be able to encrypt and decrypt the messages.

For example, the Caesar cipher was used by Julius Caesar to communicate securely with his generals. The system consisted of shifting the letters of the words by a number. This number was the “secret key” that Caesar and all his generals needed to know to be able to communicate.

For example, if the key was the number 3, then the letters of a word had to be shifted by 3 positions, so the letter A was written as a D.

With this method, the word HELLO would be encrypted to KHOOR making it unintelligible to the enemy.

The Public Key Cryptography Revolution

Public Key Cryptography
Public Key Cryptography

Because to communicate on the internet requires passing messages between strangers, then trying to coordinate for all participants to know the same private key for each message was not only cumbersome but also extremely insecure.

The invention, in the late 70s, of public key cryptography solved this. The solution was to have a system that would create a public key for every participant, and each participant would have their own secret key.

To send a message, the sender only needed to encrypt it with the public key of the receiver, and the receiver could use his secret key to decrypt it.

The way it works is that there is a cryptographic function that transforms a very large number into another very large number. The original or seed number is the secret or private key, and the resulting number, when passing the private key through the function, is the public key that may be known by anyone.

It is very easy to generate the public key, but by knowing the public key, it is practically impossible to figure out the private key. This was the fundamental solution to the safety of the system.

This model revolutionized and enabled security on the internet including secure messaging, payments, and, decades later, the cryptocurrency industry.

Private Key and Public Key on a Blockchain

Private and Public Keys on a Blockchain
Private and Public Keys on a Blockchain

In cryptocurrency or blockchain networks, the private key is what each user has in their wallet apps to sign transactions.

The private key is like a password to control the public key on the blockchain, so the security of the private key is extremely important.

The public key is like the user’s “bank account” or “address” on the blockchain.

Your Address and Your Crypto Assets

The crypto assets are held under the address.
The crypto assets are held under the address.

The public key is like a bank account or the “address”, as it’s commonly known, of the user because under that account is where their crypto assets are sent by others, received by the user, and stored.

To be able to send those crypto assets to other addresses then the private key is needed to sign the transactions.

Address Formats In Different Blockchains

ETC and ETH are the same. BTC is different.
ETC and ETH are the same. BTC is different.

Although all blockchains use the same model for users to manage and control their assets on the networks, the formats of the addresses may vary.

For example, Ethereum Classic and Ethereum public addresses are identical because they are both fully compatible and both share the same standards. This means that the same private and public keys may be used on both blockchains.

However, in Bitcoin, the design choice was that the public key had to be processed with an additional function to transform the public key into a special base 58 number to make it more human readable and avoid the confusion of some special characters.


Thank you for reading this article!

To learn more about ETC please go to: https://ethereumclassic.org

This page exists thanks in part to the following contributors:


DonaldMcIntyre
DonaldMcIntyre
  • EnglishEnglish
  • 中文中文
  • اَلْعَرَبِيَّةُاَلْعَرَبِيَّةُ
  • DeutschDeutsch
  • EspañolEspañol
  • ΕλληνικάΕλληνικά
  • FrançaisFrançais
  • עִבְרִיתעִבְרִית
  • हिन्दीहिन्दी
  • HrvatskiHrvatski
  • ItalianoItaliano
  • 日本語日本語
  • 한국어한국어
  • MalayMalay
  • NederlandsNederlands
  • PortuguêsPortuguês
  • русскийрусский
  • ภาษาไทยภาษาไทย
  • TürkTürk
  • Tiếng ViệtTiếng Việt
  • 粵語粵語
Add ETC to MetaMask
The ETC community is active on Discord
Discord
Discord
ETC Coop Discord
ETC Coop Discord
eth_classic Twitter
eth_classic Twitter
ETC_Network Twitter
ETC_Network Twitter
Github
Github
ETC Labs Github
ETC Labs Github
Reddit
Reddit
This site is powered by Netlify

Learn

  • FAQs
  • Why Classic?
  • Knowledge
  • Videos

Made with <3 for the Original Ethereum Vision