Cointime

Download App
iOS & Android

What Is a Schnorr Signature?

In cryptography, a Schnorr signature is a digital signature produced by the Schnorr signature algorithm.

Unlike most blockchains, Bitcoin has remained relatively unchanged since its early days—most upgrades have been limited and were designed to enhance the network’s efficiency rather than its functionality. Updates to the Bitcoin protocol are rare, methodical, and generally reserved for technical enhancements to ensure the stability and security of the network.

One important Bitcoin upgrade was Taproot, which introduced several enhancements, among them Schnorr signatures. Schnorr signatures offer several benefits over the preceding mechanism (ECDSA) used for key generation and verification.

In this article, we’ll explain what Schnorr signatures are and how they make digital signatures on Bitcoin faster and more efficient.

Digital Signatures

Digital signatures are mathematical schemes used to verify the authenticity and integrity of digital messages. They provide a way to prove that a message was sent by a particular sender (authenticity) and has not been altered during transmission (integrity). In other words, a digital signature is not too dissimilar from a physical signature, whereby the sender is authenticating themselves through their unique handwriting with a particular intent.

Digital signatures are commonly utilized in software distribution, financial transactions, contract management software, and in many other cases where it is important to detect forgery or tampering.

The importance of digital signatures in Bitcoin is described by Satoshi Nakamoto in the Bitcoin whitepaper:

We define an electronic coin as a chain of digital signatures. Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding these to the end of the coin. A payee can verify the signatures to verify the chain of ownership.”

In the case of Bitcoin, a digital signature is used to validate the owner of the private key associated with an address without having to reveal the private key to the network. When a transaction is submitted to be included in a block, nodes on the Bitcoin network check if the signature matches the message and accept the transaction if it does.

What is a Schnorr Signature?

A Schnorr signature is a type of digital signature scheme that allows for the efficient and secure signing of transactions and messages. It was first described by Claus Schnorr in a 1991 paper.

An algorithm leveraging elliptic curve cryptography known for its simplicity, Schnorr was proposed to be included in Bitcoin’s technology roadmap as an upgrade from Elliptic Curve Digital Signature Algorithm (ECDSA). Schnorr is often touted for its simplicity, provable security, and linearity. As Schnorr requires fewer computations than ECDSA, it’s considered suitable for cryptocurrency transactions.

Benefits of Schnorr Signatures

Schnorr signatures offer several benefits, including high efficiency and increased privacy, while preserving all of ECDSA’s features and security assumptions. Schnorr allows for smaller signature sizes, faster verification times, and improved resistance against certain types of attacks.

The most significant benefit of Schnorr signatures is key aggregation—the ability to aggregate multiple signatures into one signature that is valid for the sum of its keys. In other words, Schnorr enables multiple collaborating parties to produce a signature that is valid for the sum of their public keys.

Signature aggregation enables the ability to combine the signatures of multiple signers into a single signature.

Key aggregation can reduce transaction fees and improve base-layer scalability as signatures coming from a multisignature setup take up the same amount of space in a block as signatures coming from a single-party transaction. This feature of Schnorr can be used to reduce the size of multisig payments and other multisig-related transactions, such as Lightning Network channel transactions.

Another important property of Schnorr signatures is non-malleability. In the context of digital signatures, malleability refers to the ability of an attacker to modify a valid signature in such a way that the modified signature is still valid and authenticates a different message than the original signature. This can cause serious issues for cryptocurrency applications, where a malicious attacker could modify a transaction signature to increase the amount of funds transferred or change the recipient of the funds.

Schnorr also offers notable privacy benefits. By allowing a multisignature scheme to be obscured and indistinguishable from a conventional single public key, Schnorr makes it significantly more difficult for an observer to differentiate between multisig spends and single-signature spends by observing on-chain activity. In addition, in n-of-m multisig setups, Schnorr makes it more difficult for observers to determine which participants did and didn’t sign a transaction.

Schnorr Signatures in Bitcoin

Schnorr signatures were implemented in BIP-340 within the Taproot soft fork upgrade, which was activated at block 709,632 on November 14, 2021. Like other Bitcoin upgrade proposals, Taproot was voted on by Bitcoin miners. Taproot was a collection of protocol improvements that introduced several new features altering the way transactions are processed on the blockchain and unlocking new scripting capabilities. Taproot is often considered the most important update to Bitcoin since the adoption of SegWit (Segregated Witness) in 2017.

Schnorr makes Bitcoin digital signatures faster, more secure, and easier to process. Notably, Schnorr signatures are backward-compatible with Bitcoin’s cryptography algorithm, allowing for them to be introduced via a soft fork upgrade.

Schnorr Signature vs. ECDSA

As mentioned, Schnorr signatures offer several advantages over ECDSA, including smaller signature sizes, faster verification times, and improved resistance against certain types of attacks. Schnorr signatures also allow for signature aggregation, which can reduce transaction fees and improve scalability.

It’s worth noting that while Schnorr signatures may be considered a better fit for Bitcoin, ECDSA is still widely used and is considered to be a secure signature scheme. The choice between Schnorr signatures and ECDSA may depend on the specific use case and security requirements.

Read more: https://blog.chain.link/schnorr-signature/

Comments

All Comments

Recommended for you

  • Samourai Wallet crypto-currency mixing service co-founder arrested for money laundering

    According to The Block, the co-founders of the encrypted coin-mixing service, Samourai Wallet, have been arrested. Prosecutors allege that they laundered $100 million from Silk Road and other illegal markets. On Wednesday, Samourai CEO Keonne Rodriguez and CTO William Lonergan Hill were charged with operating the Samourai wallet.Prosecutors claim that Samourai is an unlicensed money transfer company that participated in "over $2 billion in illegal transactions and provided over $100 million in money laundering transactions for illegal dark web markets, including Silk Road." Rodriguez was arrested on Wednesday morning and will face trial in Pennsylvania.Hill was reportedly arrested in Portugal, and the US is seeking extradition. Prosecutors say that Samourai's network servers and domain name have also been seized, and the app can no longer be downloaded from the US Google Play store. Rodriguez and Hill are charged with money laundering and unlicensed money transmission, with maximum sentences of 20 years and 5 years, respectively.

  • Rune token DOG's transaction volume exceeded 100 BTC within 4 hours of launch

    According to data from Ordinal News forwarded by Runestone founder Leonidas, the Bitcoin symbol token DOG broke through a trading volume of 118.72 BTC (approximately $7,685,101 USD) within 4 hours of trading. The trading volume on three platforms was: Magic Eden on Bitcoin: 45.21 BTC; OKX Wallet: 20.37 BTC; UniSat: 53.14 BTC.

  • NFT lending volume exceeds $2 billion in Q1

    According to a report from CoinGecko, the first quarter trading volume of the lending market using non-fungible tokens (NFTs) as collateral exceeded $2 billion, a 44% increase compared to the fourth quarter of 2023. The lending platform Blend has shown significant dominance in the market, with a monthly loan amount of $562.3 million as of March 2024, occupying nearly 93% of the market share.

  • Grayscale GBTC outflow of $130 million yesterday

    According to data monitored by HODL15Capital, Grayscale's Bitcoin ETF GBTC saw an outflow of 2,000 BTC, worth about $130 million, on April 24th.

  • U.S. House of Representatives: Agreement on stablecoin regulation will soon be reached with the Chairman of the Financial Services Committee

    Maxine Waters, the Democratic leader of the US Financial Services Committee, predicted on Wednesday that she and Chairman Patrick McHenry will soon reach an agreement on stablecoin regulation legislation.

  • InfiniGods, a blockchain game studio, announced that it has received $8 million in Series A funding

    Blockchain game studio InfiniGods announced it has received $8 million in Series A funding, exclusively invested by Pantera Capital.

  • Tevaera Closes $5 Million Funding Round to Create One-Stop Gaming Ecosystem Powered by zkSync's ZK Stack

    Tevaera, a gaming platform powered by zkSync's ZK Stack, has closed a $5 million funding round led by Laser Digital and Nomura Group. The funding will support Tevaera's mission to create a one-stop gaming ecosystem. The project has attracted prominent investors, including Hashkey Capital, Fenbushi Capital, and Crypto.com Capital. Tevaera has also launched a redesigned website and is preparing to introduce two new games and the first decentralized L3 gaming chain on zkSync.

  • The Hong Kong Securities Regulatory Commission’s official website has listed the Bitcoin and Ethereum spot ETFs and stock codes of China Asset Management, Bosera and Harvest.

    Hong Kong Securities and Futures Commission website has listed the Bitcoin and Ethereum spot ETFs of three fund companies, Huaxia, Boshi, and Jiashi, with approval dates all on April 23, 2024. The related funds are not derivative product funds, specifically including:1. Huaxia Bitcoin ETF (BUU163) with share codes of 03042, 09042, and 83042;2. Huaxia Ethereum ETF (BUU164) with share codes of 03046, 09046, and 83046;3. Boshi HashKey Bitcoin ETF (BUU104) with share codes of 03008 and 09008;4. Boshi HashKey Ethereum ETF (BUU105) with share codes of 03009 and 09009;5. Jiashi Bitcoin Spot ETF (BUT244) with share codes of 03439 and 09439;6. Jiashi Ethereum Spot ETF (BUU885) with share codes of 03179 and 09179.

  • Market News: South Africa authorizes 75 companies as cryptocurrency service providers

    According to Jinshi news, South Africa has authorized 75 companies as cryptocurrency service providers.

  • Shanghai Municipal Party Committee Secretary: Welcome Standard Chartered to establish more new institutions, new businesses and new platforms such as blockchain in Shanghai

    Chen Jinong, the Secretary of the Shanghai Municipal Party Committee, met with Weihao Si, the Chairman of the Board of Directors of Standard Chartered Bank, and Mark William D'Arcy, the Executive Director, and some members of the Board of Directors yesterday morning. Chen Jinong stated that he welcomes Standard Chartered Bank to leverage its own advantages, strengthen strategic connections, place more new institutions, businesses, and platforms such as wealth management and blockchain in Shanghai, focus on deepening pragmatic cooperation in technology finance, green finance, digital finance, and create more application scenarios, and provide comprehensive and professional service support for enterprises to go abroad.