• Catalog
  • Blog
  • Tor Relay
  • Jabber
  • Secret Notes
  • Temp Mail
  • Get Tor Browser
  • Crypto
    Monero stealth addresses technical diagram

    Monero stealth addresses are the cryptographic mechanism that makes Monero transactions unlinkable, allowing a sender to create random one-time addresses for every transaction on behalf of the recipient. Understanding how stealth addresses work reveals why Monero provides stronger privacy than transparent blockchains like Bitcoin.

    What are stealth addresses?

    Stealth addresses are unique addresses derived from one-time public keys that senders automatically generate on behalf of recipients. Every transaction is characterized by a unique receiving address, making it impossible to link transactions to the same recipient.

    One-time addresses: Each transaction uses a different one-time address, no two transactions to the same person share the same address.

    Unlinkability: Without the private view key, it's impossible to determine which transactions belong to the same recipient, providing strong privacy.

    Sender privacy: Stealth addresses also protect sender privacy, the sender's address doesn't appear on the blockchain.

    Automatic generation: Senders automatically generate stealth addresses, recipients don't need to do anything special.

    Cryptographic foundation: Stealth addresses use Diffie-Hellman key exchange, the same mathematics behind secure communications.

    How stealth addresses work

    Monero keys: Each Monero user has a private view key, private spend key, and public address, the address is built from the public keys.

    Transaction private key: The sender picks a random scalar r for every transaction, generating a transaction private key.

    Transaction public key: The public version R = r·G is written into the transaction's tx_extra field, visible on the blockchain.

    Shared secret: The sender computes 8·r·A (A is the public view key), the recipient computes 8·a·R (a is the private view key). These are the same point due to Diffie-Hellman properties.

    One-time key derivation: The one-time public key P = Hs(8·r·A ‖ i)·G + B is computed, where i is the output index and B is the public spend key.

    Output public key: The one-time public key P appears on the blockchain as the output's destination, looking like a random point.

    Recipient scanning: The recipient scans transactions computing Hs(8·a·R ‖ i)·G + B for each output, matching against P to identify their outputs.

    Spending: The recipient computes the one-time private key x = Hs(8·a·R ‖ i) + b, where b is the private spend key, to spend the output.

    The Diffie-Hellman exchange

    Stealth addresses rely on Diffie-Hellman key exchange:

    Key agreement: Both sender and recipient compute the same shared secret, without revealing it to observers.

    Sender computation: Sender computes 8·r·A using transaction private key r and recipient's public view key A.

    Recipient computation: Recipient computes 8·a·R using private view key a and transaction public key R.

    Same result: Both computations yield the same point, because a·R = a·r·G = r·a·G = r·A.

    Cofactor 8: The factor 8 cleans the point of small-order components, ensuring the result lands in the correct subgroup.

    Hash function: Hs is a cryptographic hash function, converting the shared secret into a usable scalar.

    Security: Without knowing a or r, it's computationally infeasible to compute the shared secret, providing security.

    Privacy properties

    Stealth addresses provide several privacy properties:

    Address unlinkability: Each transaction uses a unique address, transactions can't be linked to the same recipient.

    Sender unlinkability: The sender's address doesn't appear, transactions can't be linked to the same sender.

    Amount privacy: RingCT hides transaction amounts, combined with stealth addresses, provides comprehensive privacy.

    Transaction graph privacy: Stealth addresses break the transaction graph, observers can't trace funds through the blockchain.

    Receiver privacy: Only the recipient can identify their outputs, using their private view key.

    View-only wallets: View-only wallets can scan for incoming transactions, using only the view key, not the spend key.

    Auditability: Recipients can audit their transactions, proving they received funds without revealing to others.

    The view key and spend key

    Monero's dual-key system is essential for stealth addresses:

    Private view key (a): Used to scan for incoming transactions, identifies outputs belonging to the wallet.

    Private spend key (b): Used to spend outputs, computes one-time private keys for transactions.

    Public view key (A): Part of the public address, used by senders to generate stealth addresses.

    Public spend key (B): Part of the public address, used in one-time key derivation.

    View-only wallets: Can be created with only the view key, for accounting or auditing without spending ability.

    Key separation: View and spend keys are separate, view-only wallets can't spend funds.

    Backup security: Both keys must be backed up, losing either key results in lost access.

    Transaction scanning

    Monero wallets scan the blockchain to find incoming transactions:

    Output scanning: For every new transaction and output, the wallet computes the one-time public key.

    Matching: The computed key is compared against the output's public key P, if they match, the output belongs to the wallet.

    View key only: Scanning requires only the private view key and public spend key, not the spend key.

    Immutable check: The scanning check is immutable and cannot be faked, cryptographic certainty.

    Performance: Scanning is computationally intensive, wallets must process the entire blockchain.

    View-only scanning: View-only wallets can scan for incoming transactions, useful for accounting.

    Outgoing transactions: Tracking outgoing transactions is more complex, view-only wallets struggle with this.

    Ring signatures and stealth addresses

    Stealth addresses work in conjunction with ring signatures:

    Ring signatures: Hide the sender's identity, mixing real inputs with decoys.

    Stealth addresses: Hide the receiver's identity, using unique one-time addresses.

    Combined privacy: Together, they provide comprehensive privacy, hiding both sender and receiver.

    Transaction unlinkability: Neither sender nor receiver can be identified, transactions are unlinkable.

    Amount privacy: RingCT hides amounts, combined with stealth addresses, provides full privacy.

    Cryptographic stack: Monero uses multiple privacy technologies, stealth addresses, ring signatures, RingCT.

    Defense in depth: Multiple privacy layers provide defense in depth, no single point of failure.

    Comparison with Bitcoin

    Stealth addresses provide significantly better privacy than Bitcoin:

    Bitcoin addresses: Bitcoin uses reusable addresses, transactions can be linked to the same address.

    Monero stealth addresses: Monero uses one-time addresses, transactions can't be linked.

    Bitcoin transparency: Bitcoin transactions are fully transparent, amounts, addresses, and timing are public.

    Monero privacy: Monero transactions hide sender, receiver, and amount, comprehensive privacy.

    Bitcoin traceability: Bitcoin transactions can be traced, blockchain analysis can link transactions.

    Monero untraceability: Monero transactions cannot be traced, no public ledger to analyze.

    Privacy trade-off: Monero provides better privacy but is less transparent, trade-off between privacy and auditability.

    Limitations and risks

    Stealth addresses are powerful but not perfect:

    Timing analysis: Timing analysis can reveal information, when transactions occur and their frequency.

    Network analysis: Network analysis can reveal IP addresses, if users don't use Tor or VPN.

    Endpoint compromise: If the recipient's wallet is compromised, the private keys can be stolen.

    User error: Users can make mistakes, reusing addresses, linking transactions, or other OPSEC failures.

    Implementation bugs: Cryptographic implementations can have bugs, vulnerabilities in the code.

    Quantum threats: Future quantum computers may break elliptic curve cryptography, though this is a long-term concern.

    Regulatory pressure: Monero faces regulatory challenges, some exchanges have delisted it.

    Stealth addresses in practice

    Stealth addresses are used automatically in Monero:

    Automatic generation: Senders automatically generate stealth addresses, no special action needed.

    Standard transactions: All Monero transactions use stealth addresses, it's the default behavior.

    Wallet integration: Monero wallets handle stealth address generation and scanning automatically.

    User transparency: Users don't need to understand the cryptography, wallets handle it automatically.

    Address reuse: Users can reuse their public address, stealth addresses are generated automatically.

    Multiple outputs: Transactions can have multiple outputs, each gets a unique stealth address.

    Change outputs: Change outputs also use stealth addresses, maintaining privacy.

    The future of stealth addresses

    Stealth address technology continues to evolve:

    Performance improvements: Ongoing development aims to improve performance, faster scanning and verification.

    Quantum resistance: Future upgrades may add quantum resistance, preparing for post-quantum cryptography.

    Interoperability: Stealth address concepts may be adopted by other cryptocurrencies, improving privacy ecosystem.

    Regulatory adaptation: Monero may need to adapt to regulatory pressure, balancing privacy and compliance.

    Adoption growth: Monero adoption may grow, as privacy concerns increase and regulatory pressure on other coins continues.

    Technical evolution: Technical evolution continues, new cryptographic techniques, better performance, enhanced privacy.

    Monero stealth addresses represent a remarkable achievement in cryptocurrency privacy, using Diffie-Hellman key exchange to create unique one-time addresses for every transaction. The technology is elegant, the privacy properties are strong, and the implementation is automatic, users don't need to understand the cryptography to benefit from it. For darknet market users, stealth addresses are essential, they provide the privacy that makes Monero the preferred payment method. The comparison with Bitcoin is stark, Bitcoin's transparent blockchain allows transaction tracing, while Monero's stealth addresses make transactions unlinkable. However, stealth addresses are not perfect, timing analysis, network analysis, and endpoint compromise remain threats. For users who prioritize privacy, Monero's stealth addresses provide the strongest protection available, but like all privacy technologies, they require careful use and understanding of their limitations.

    The Monero stealth address docs, Learn Me Monero stealth, Monero Building Blocks Part 10, Monero transaction docs, and John D. Cook stealth addresses are the primary sources. For related coverage, see our Monero privacy guide and Bitcoin vs Monero guide.

    Author OnionInfoDesk
    Monero privacy
    BTC vs XMR
    Payment methods
    Monero guide

    Comments 0

    Add comment