• Catalog
  • Blog
  • Tor Relay
  • Jabber
  • Secret Notes
  • Temp Mail
  • Get Tor Browser
  • Crypto
    Zcash shielded transactions zk-SNARKs illustration

    Zcash is a privacy-focused cryptocurrency that uses zero-knowledge proofs (zk-SNARKs) to enable fully shielded transactions, hiding sender, recipient, and amount while maintaining blockchain security. Understanding how Zcash's shielded transactions work reveals the technical sophistication behind its privacy claims.

    Zcash's dual-pool architecture

    Transparent pool: Zcash has a transparent pool that works like Bitcoin, transactions are publicly visible on the blockchain, showing sender, recipient, and amount.

    Shielded pools: Zcash has multiple shielded pools, Sprout, Sapling, and Orchard, each using different cryptographic constructions for privacy.

    Pool selection: Users choose which pool to use for each transaction, transparent for public transactions, shielded for private transactions.

    Inter-pool transfers: Value can move between pools, transparent to shielded, shielded to transparent, or shielded to shielded.

    Privacy gradient: Zcash offers a privacy gradient, users can choose their level of privacy based on their needs.

    Default privacy: While Zcash supports shielded transactions, they are not mandatory, users must actively choose to use shielded addresses.

    How shielded transactions work

    Notes: In Zcash, value is carried by "notes", cryptographic objects that specify an amount and a destination address. Notes are like Bitcoin's UTXOs but with privacy features.

    Note commitments: When a note is created, only a commitment to its contents is revealed, the actual amount and recipient remain hidden. The commitment is a hash that proves the note exists without revealing its contents.

    Nullifiers: Each note has a unique nullifier, a value that prevents double-spending. Computing the nullifier requires the spending key, making it impossible to link notes to nullifiers without the private key.

    Merkle tree: Note commitments are stored in a Merkle tree, a cryptographic structure that allows proving that a specific note exists without revealing other notes.

    Zero-knowledge proofs: Transactions include zk-SNARK proofs, cryptographic proofs that demonstrate transaction validity without revealing transaction details.

    Shielded addresses: Shielded addresses are derived from spending keys, they allow receiving notes without revealing the owner's identity.

    zk-SNARKs explained

    What they are: zk-SNARKs (Zero-Knowledge Succinct Non-interactive Arguments of Knowledge) are cryptographic proofs that demonstrate knowledge of a secret without revealing the secret itself.

    How they work: A prover generates a proof that they know certain information (like a valid transaction) without revealing the information itself. A verifier can check the proof without learning anything about the underlying data.

    Succinct: zk-SNARK proofs are small and fast to verify, they can prove complex statements with relatively little data.

    Non-interactive: The prover and verifier don't need to interact, the proof can be verified independently.

    Application to Zcash: Zcash uses zk-SNARKs to prove that shielded transactions are valid, proving that notes exist, amounts are correct, and signatures are valid, without revealing any of these details.

    Privacy guarantee: zk-SNARKs provide perfect zero-knowledge, the proof reveals absolutely nothing about the underlying data except that the statement is true.

    Zcash shielded pools

    Sprout: The original shielded pool, launched in 2016 with the Zcash protocol. Uses zk-SNARKs for privacy but has some limitations.

    Sapling: Launched in 2018, improved upon Sprout with better performance, smaller proofs, and enhanced privacy features.

    Orchard: Launched in 2022, the newest shielded pool, using advanced cryptography for even better privacy and performance.

    Ironwood: A newer pool using the same shielded protocol as Orchard, providing additional capacity and features.

    Pool migration: Value can move between pools, users can migrate from older pools to newer ones for better privacy or performance.

    Pool selection: Users choose which pool to use, different pools offer different privacy and performance characteristics.

    Zcash privacy features

    Sender privacy: Shielded transactions hide the sender, observers can't see who is sending funds.

    Recipient privacy: Shielded transactions hide the recipient, observers can't see who is receiving funds.

    Amount privacy: Shielded transactions hide the amount, observers can't see how much is being transferred.

    Transaction unlinkability: Shielded transactions can't be linked to each other, each transaction is independent.

    Note privacy: Notes are hidden until spent, observers can't see unspent notes or their contents.

    Pool privacy: Different pools provide different privacy levels, users can choose their preferred balance of privacy and convenience.

    Zcash vs Monero privacy

    Privacy approach: Zcash uses zk-SNARKs, zero-knowledge proofs that prove transaction validity without revealing details. Monero uses ring signatures and stealth addresses, different cryptographic techniques.

    Default privacy: Monero provides privacy by default, all transactions are private automatically. Zcash requires users to actively choose shielded addresses, privacy is optional.

    Transparency: Zcash has a transparent pool, some transactions are public. Monero has no transparent pool, all transactions are private.

    Complexity: Zcash's cryptography is more complex, zk-SNARKs require significant computational resources. Monero's cryptography is simpler, ring signatures and stealth addresses are more efficient.

    Adoption: Monero is more widely accepted on darknet markets, Zcash is less common but growing in adoption.

    Regulatory status: Both face regulatory pressure, but Zcash's optional privacy may make it more acceptable to some regulators.

    Performance: Zcash transactions can be slower due to zk-SNARK generation, Monero transactions are typically faster.

    Using Zcash privately

    Shielded addresses: Use shielded addresses (zs1...) for private transactions, avoid transparent addresses (t1...) for sensitive transactions.

    Pool selection: Choose the appropriate pool, Orchard is the newest and most private, Sapling is well-established, Sprout is the oldest.

    Wallet security: Use secure wallets, hardware wallets, paper wallets, or well-secured software wallets. Never store private keys on internet-connected devices.

    Key management: Protect your spending keys, they control access to your shielded funds. Use strong passphrases and secure storage.

    Operational security: Never discuss your Zcash holdings or transactions, OPSEC failures can compromise privacy.

    Network security: Use Tor or VPN when transacting, prevent network observers from linking your transactions to your identity.

    Conversion privacy: When converting Zcash to other assets, use privacy-preserving methods, avoid direct exchanges that log transactions.

    Zcash limitations

    Optional privacy: Zcash's privacy is optional, users must actively choose shielded addresses, and many users don't.

    Transparent pool: The transparent pool provides no privacy, transactions are publicly visible.

    Complexity: Zcash's cryptography is complex, users need to understand how to use it correctly.

    Performance: zk-SNARK generation requires significant computation, transactions can be slower than other cryptocurrencies.

    Adoption: Zcash is less widely adopted than Bitcoin or Monero, fewer merchants and services accept it.

    Regulatory pressure: Like Monero, Zcash faces regulatory pressure, exchanges may delist it, and regulations may restrict its use.

    Implementation risks: Bugs in Zcash's implementation could compromise privacy, the protocol is complex and requires careful implementation.

    Zcash technical details

    Note structure: Notes contain amount, recipient address, and other data, encrypted and committed to the blockchain.

    Commitment scheme: Zcash uses Pedersen commitments, cryptographic commitments that hide note contents while proving existence.

    Nullifier scheme: Nullifiers prevent double-spending, each note has a unique nullifier that can only be computed with the spending key.

    Merkle tree: Note commitments are stored in a Merkle tree, allowing proofs of inclusion without revealing other notes.

    zk-SNARK circuit: Zcash uses a complex circuit to verify transactions, proving that notes exist, amounts are correct, and signatures are valid.

    Trusted setup: Zcash's original zk-SNARK construction required a trusted setup, a ceremony where participants generated cryptographic parameters. Later versions use different constructions.

    Zcash ecosystem

    Wallets: Zcash has multiple wallet implementations, official wallets, third-party wallets, and hardware wallet support.

    Exchanges: Zcash is listed on many exchanges, but some have delisted it due to regulatory pressure.

    Darknet markets: Zcash is accepted on some darknet markets, but Monero is more widely preferred for its stronger privacy.

    Privacy tools: Zcash integrates with privacy tools, Tor, VPNs, and other anonymity networks enhance privacy.

    Community: Zcash has an active development community, regular updates, improvements, and security audits.

    Adoption: Zcash adoption is growing, more merchants and services accept it, and privacy awareness is increasing.

    Zcash's shielded transactions represent a sophisticated approach to privacy, using zero-knowledge proofs to hide transaction details while maintaining blockchain security. The dual-pool architecture provides flexibility, users can choose their level of privacy based on their needs. However, Zcash's privacy is optional, users must actively choose shielded addresses, and the transparent pool provides no privacy. Compared to Monero, Zcash offers different trade-offs, more complex cryptography but optional privacy, while Monero offers simpler cryptography but mandatory privacy. For privacy-conscious users, both cryptocurrencies provide strong protection, the choice depends on individual preferences for complexity, adoption, and privacy guarantees. The technology is impressive, the challenge is using it correctly and understanding its limitations.

    Zcash's shielded transaction technology represents a different approach to privacy than Monero, where Monero uses ring signatures and stealth addresses for mandatory privacy, Zcash uses zero-knowledge proofs for optional privacy. Both approaches have strengths and weaknesses, and the choice between them depends on individual needs for privacy, convenience, and adoption. For users who value maximum privacy by default, Monero is the better choice. For users who want privacy when needed but also want the option of transparent transactions, Zcash offers more flexibility.

    The Zcash zk-SNARKs guide, Zcash protocol specification, Zcash shielded transactions explained, Zcash private transactions, and CoinDesk Zcash analysis are the primary sources. For related coverage, see our Zcash guide and Monero privacy guide.

    Author OnionInfoDesk
    Zcash guide
    Monero privacy
    BTC vs XMR
    Blockchain analysis

    Comments 0

    Add comment