---
title: "Asymmetric Cryptography — definition | Nuri Glossary"
description: "Two linked keys: one public to share, one private to keep. Signatures prove you hold the private key without revealing it."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/asymmetric-cryptography"
---

# Asymmetric Cryptography

Two linked keys: one public to share, one private to keep. Signatures prove you hold the private key without revealing it.

## Basically

Asymmetric cryptography gives you two linked keys: one private and one public. They protect data and let you sign blockchain transactions without sharing your private key.

## Key Takeaways

- Asymmetric cryptography uses mathematically linked key pairs: a private key kept secret and a public key shared openly. Your private key can produce signatures that anyone can verify with your public key, but your public key cannot reveal your private key.
- Bitcoin relies on elliptic curve cryptography over the secp256k1 curve for all transaction signing. A 256-bit private key generates a public key through one-way scalar multiplication, providing 128-bit security with compact keys.
- Symmetric cryptography requires both parties to share one secret, while asymmetric schemes let strangers transact securely without prior coordination. This mathematical foundation makes trustless, peer-to-peer digital money possible.

## What Is Asymmetric Cryptography?

Asymmetric cryptography, also called public-key cryptography, uses two distinct but mathematically related keys: a private key and a public key. You keep your private key secret, while you can distribute your public key freely. Data encrypted with one key can only be decrypted with the other, and anyone holding the corresponding public key can verify a signature created with the private key.
Whitfield Diffie and Martin Hellman publicly introduced the concept in 1976, followed by the first practical implementation, RSA, by Ron Rivest, Adi Shamir, and Leonard Adleman in 1977. Earlier encryption was entirely symmetric, so both parties needed the same shared secret, creating a key distribution problem. How do you securely share the key in the first place?
Asymmetric cryptography solves this problem by removing the need for a shared secret. Bitcoin and other blockchain systems use it as the foundation for proving ownership. Your wallet generates a private key that derives a public key, which in turn derives an address, and spending funds requires a digital signature from the private key that the entire network can verify without learning the secret.

## Asymmetric vs. Symmetric Cryptography

Symmetric cryptography uses a single key for both encryption and decryption. AES-256, the most widely deployed symmetric cipher, is fast and efficient but requires both communicating parties to possess the same secret key already. You can use it effectively when you control both endpoints, such as when encrypting a hard drive, but it creates a chicken-and-egg problem for communication between strangers.
Asymmetric cryptography trades performance for flexibility. It is roughly 1,000 times slower than symmetric encryption for bulk data, but it solves the key distribution problem entirely. Most secure protocols, including TLS, SSH, and PGP, use a hybrid approach in practice: asymmetric cryptography establishes a shared secret, then symmetric cryptography provides fast bulk encryption.

## How It Works

Asymmetric cryptography relies on trapdoor functions, which are mathematical operations that are easy to compute in one direction but computationally infeasible to reverse. Every asymmetric system depends on a specific hard mathematical problem that no known algorithm can solve efficiently.

## Trapdoor Functions

A trapdoor function is a one-way function with a secret shortcut. Multiplying two large prime numbers is trivial, but factoring the product back into its prime components is extraordinarily difficult for large numbers. Public-key cryptography depends on this asymmetry between the easy forward operation and the hard reverse operation.
Different algorithms use different trapdoor functions. RSA and elliptic curve cryptography rely on separate hard mathematical problems.

## Key Generation

Bitcoin key generation uses elliptic curve cryptography on the secp256k1 curve. Your public key comes from scalar multiplication of the generator point G by your private key.
Scalar multiplication (Private Key × G) involves repeated point addition on the elliptic curve. The forward computation takes microseconds, but reversing it to find the private key from the public key would require approximately 2¹²⁸ operations with the best known classical algorithms. That number exceeds the estimated number of atoms in the observable universe.

## Signing and Verification

Bitcoin uses asymmetric cryptography for digital signatures, not encryption. You create a digital signature when spending Bitcoin.
Verification is fast: a single ECDSA verification on secp256k1 takes roughly 50 microseconds. Schnorr verification is even faster and supports batch verification, where checking multiple signatures together costs less than checking them individually.

## RSA

RSA (Rivest-Shamir-Adleman) was the first widely deployed asymmetric algorithm, published in 1977, and its security relies on the difficulty of factoring the product of two large primes. RSA remains widely used for TLS certificates and email encryption, but its key sizes are large: 3,072 bits for 128-bit security, compared to 256 bits for ECC. These sizes make RSA impractical for blockchain systems where every transaction signature is stored on thousands of nodes.

## ECDSA

The Elliptic Curve Digital Signature Algorithm is Bitcoin's original signature scheme, used for legacy, SegWit, and nested SegWit transactions. ECDSA on secp256k1 produces signatures of 70 to 72 bytes (DER-encoded) using 256-bit keys, delivering equivalent security to RSA-3072 at a fraction of the size.

## Schnorr Signatures

Schnorr signatures were activated with Bitcoin's Taproot upgrade (BIP-340) in November 2021 and offer several advantages over ECDSA: fixed 64-byte signatures with no DER encoding overhead, provable security under the random oracle model, and native support for key aggregation. Multiple signers can produce a single signature indistinguishable from a solo signature, improving privacy and reducing on-chain footprint.

## FROST

FROST (Flexible Round-Optimized Schnorr Threshold Signatures) extends Schnorr to threshold signing, where t-of-n participants can produce a valid signature without any single party holding the complete private key. Advanced custody models like those used by Spark use this approach to let operators and users share signing authority over virtual UTXOs without any party having unilateral control.

## Asymmetric Cryptography in Bitcoin

Every Bitcoin transaction is fundamentally an exercise in asymmetric cryptography. The entire ownership model rests on the assumption that only the private key holder can produce valid signatures for their funds.
The research article on Taproot and Schnorr signatures offers a deeper look at how asymmetric cryptography powers Bitcoin's signature schemes. You can read it for more detail on those signature schemes.

## Why It Matters

Trustless digital money would not exist without asymmetric cryptography. Symmetric encryption requires a shared secret between sender and receiver, so you need a trusted channel to set up that secret. A decentralised network with thousands of anonymous nodes has no such channel.
Asymmetric cryptography allows anyone to verify a transaction's authenticity without trusting anyone. A node in Tokyo can confirm that a signature from a wallet in Buenos Aires is valid without the two ever communicating directly. Verification without shared secrets makes self-custody and censorship resistance possible.
Spark uses asymmetric cryptography through FROST threshold signatures, enabling shared custody over Bitcoin layer-2 assets where neither the user nor the operator alone can move funds. This approach preserves self-sovereignty while enabling instant, low-cost transactions.

## Key Management

Asymmetric cryptography shifts the security burden to the key holder. Losing the private key means there is no recovery mechanism and the funds are permanently inaccessible, while a stolen key gives the thief full control. Secure key management and backup, typically via seed phrases, are therefore essential.

## Nonce Reuse

ECDSA signatures require a unique random nonce for each signing operation. Reusing a nonce across two different signatures with the same private key allows an attacker to recover the private key algebraically. This vulnerability led to significant theft in early Bitcoin history and prompted the adoption of deterministic nonce generation (RFC 6979), which derives the nonce from the message and private key rather than relying on random number generators.

## Quantum Computing Threat

Shor's algorithm, running on a sufficiently powerful quantum computer, could solve the elliptic curve discrete logarithm problem in polynomial time, breaking the trapdoor that asymmetric cryptography depends on. A quantum computer with an estimated 2,500+ logical qubits could theoretically recover a Bitcoin private key from its public key.
Current quantum computers operate with fewer than 1,500 noisy physical qubits, far from the millions of error-corrected qubits required for such an attack. The threat nevertheless motivates active research into post-quantum cryptography and lattice-based schemes that resist quantum attacks. Bitcoin's address hashing provides a partial defence by exposing only a hash, not the public key, until spending, so addresses that have never spent funds do not reveal their public key.

## Implementation Vulnerabilities

The mathematics of asymmetric cryptography is well-proven, but implementation bugs can be devastating. Side-channel attacks using timing, power analysis, or electromagnetic emissions can leak private key information during signing operations, especially on hardware without constant-time arithmetic. Hardware wallets and secure elements mitigate these risks by performing signing in isolated, tamper-resistant environments.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
