fbpx
Wallet

How do digital signatures in Bitcoin work?

CryptoCompare needs javascript enabled in order to work.

Follow these instructions to activate and enable JavaScript in Chrome.

PC

MAC

How do digital signatures in Bitcoin work? 1How do digital signatures in Bitcoin work? 2How do digital signatures in Bitcoin work? 3How do digital signatures in Bitcoin work? 4How do digital signatures in Bitcoin work? 5How do digital signatures in Bitcoin work? 6How do digital signatures in Bitcoin work? 7How do digital signatures in Bitcoin work? 8How do digital signatures in Bitcoin work? 9How do digital signatures in Bitcoin work? 10

digital signature word cloudA Bitcoin digital signature and its verification is one of the main key secrets behind the Bitcoin protocol.

It allows non-repudiation as it means the person who sent the message had to be in possession of the private key and so therefore owns the Bitcoins – anyone on the network can verify the transaction as a result.

But how does it work?

The private key creates the public key, which in turn creates the address – and due to some clever mathematics using elliptic curves and modular arithmetic in finite fields the process is achieved. First though let’s remind ourselves of the process. 

 digital signature

 

The sender generates a private key and public key. They then sign the message with the signature and send their public key, the signature and the message to the network (as the network is peer to peer each full node in the network validates each transaction) – The node or receiver then checks using the verification algorithm that the message has been signed by the sender, which can only be done by the holder of the private key to the public key that is sent.

Using elliptic curves and their properties the signer, or sender, creates three points – remembering that the Bitcoin curve is defined as below:

1.1 Take the message and convert it to a number by hashing it – then multiply by the generator point.

1.2 Choose a random number and create a random point by multiplying the generator point.

1.3 We take the random point, Xr, just the x coordinate and multiply by the Public key – which remember is a point in its own right derived from the generator point and private key -which is a random number.

After this the signer creates the signature factor using the Bitcoin private key, the random point x coordinate, the message hash, and the random number used to generate the random point.

The signature is (Sf, Xr), which along with the public key & message is sent to the network or receiver who then makes some calculations of their own, which are as follows.

2.1Take the message and hash it and divide by the signature factor.

2.2 Calculate the Random number divided by the signature factor.

Then calculate the random point using the following equation – the same point calculated by the signer in step 1.2:

 

If Xr of the sender ≡ Xr of the receiver then the signature is valid and the transaction had to have been sent by the holder of the private key. The equation above can be substituted in the following way to prove this.
Substitute in the following equations:

Into equation 2.3 to get:

This proves that the signature came from the holder of the private key, and that the transaction is valid. A lot of this relies on wallets not using the same random number (Rn) to be generated for two transactions. If this was the case then the above equations can be solved to find the Private key number.

This website is only provided for your general information and is not intended to be relied upon by you in making any
investment decisions. You should always combine multiple sources of information and analysis before making an
investment and seek independent expert financial advice.

Where we list or describe different products and services, we try to give you the information you need to help you
compare them and choose the right product or service for you. We may also have tips and more information to help you
compare providers.

Some providers pay us for advertisements or promotions on our website or in emails we may send you.
Any commercial agreement we have in place with a provider does not affect how we describe them or their
products and services. Sponsored companies are clearly labelled.

CryptoCompare needs javascript enabled in order to work.

Follow these instructions to activate and enable JavaScript in Chrome.

PC

MAC

How do digital signatures in Bitcoin work? 1How do digital signatures in Bitcoin work? 2How do digital signatures in Bitcoin work? 3How do digital signatures in Bitcoin work? 4How do digital signatures in Bitcoin work? 5How do digital signatures in Bitcoin work? 6How do digital signatures in Bitcoin work? 7How do digital signatures in Bitcoin work? 8How do digital signatures in Bitcoin work? 9How do digital signatures in Bitcoin work? 10

{{DateParsing.formatFromNow(connection.data[0].DATA.LASTUPDATE*1000)}}

{{connection.data[0].DISPLAY.LASTMARKET}}

{{connection.data[0].DISPLAY.LASTVOLUME}}

#

{{heading.display}}



{{keyDefaultData}}

{{$index+1}}

{{item[heading.name]}}


Sponsored

{{item[heading.name]}}
{{item[“DISPLAYTOTALVOLUME24H”][“USD”]}}
{{item[heading.name]}}
  • {{coin}}
  • +{{item[heading.name].length}}

Read more


Visit site



The Astra Protocol team points out that high-profile money laundering cases across multiple financial platforms have led to regulators paying close attention to the nascent decentralized finance (DeFi) space.

The native token of popular cryptocurrency exchange aggregation platform TabTrader, TTT, has launched on cryptocurrency trading platform Gate.io as well as on decentralized platforms on the Solana blockchain.

DecimalChain has been in the cryptocurrency market for only one year, but over time it already developed and launched a number of innovative products that helped the project get to the level of major blockchain firms.

Medieval games are an exciting genre where the world of magic, folklore and history are interwoven together. This exciting prospect is taken to the next level by TaleCraft, a gaming metaverse that has successfully built a medieval game on the blockch…

Blockchain gaming metaverse Polker has announced the listing of its utility token PKR on crypto exchange platform Bittrex. This latest development one day after the successful launch of the Polker ‘Testnet’ Closed Beta Game.

Once you install Good Crypto on your iOS or Android device or open the Web App, it offers real-time market data and analytics, automated portfolio tracking, and advanced trading terminal supporting 30 leading crypto exchanges.

CryptoCompare needs javascript enabled in order to work.

Follow these instructions to activate and enable JavaScript in Chrome.

PC

MAC

How do digital signatures in Bitcoin work? 1How do digital signatures in Bitcoin work? 2How do digital signatures in Bitcoin work? 3How do digital signatures in Bitcoin work? 4How do digital signatures in Bitcoin work? 5How do digital signatures in Bitcoin work? 6How do digital signatures in Bitcoin work? 7How do digital signatures in Bitcoin work? 8How do digital signatures in Bitcoin work? 9How do digital signatures in Bitcoin work? 10

Back to top button
Sitemap