Skip to content

Asymetric Encryption

Course: Public Key Cryptography - chapter 5

Asymmetric encryption, also known as public-key cryptography, is a type of encryption that uses a pair of keys: a public key and a private key. The keys are mathematically related, but it is computationally infeasible to derive the private key from the public key.

Public Key: The public key is a string that can be shared openly

Private Key: The private key is a secret cryptographic code that must be kept confidential. It is used to decrypt data encrypted with the corresponding public key or to create digital signatures.

  1. RSA - Rivest–Shamir–Adleman
  2. ECC - Elliptic Curve Cryptography (ECDSA) - ETH and BTC
  3. **EdDSA - **Edwards-curve Digital Signature Algorithm  - SOL

How eliptic curves work - https://www.youtube.com/watch?v=NF1pwjL9-DE&

  1. secp256k1 - BTC and ETH
  2. ed25519 - SOL

**Few usecases of public key cryptography - **

  1. SSL/TLS certificates
  2. SSH keys to connect to servers/push to github
  3. Blockchains and cryptocurrencies