Preparing your article…
Skip to content

What is Proof-of-Work (PoW), and why does it make attacks and spam so costly?

Proof of Work makes it possible to verify work without knowing its author. Learn how it works in Bitcoin and how it makes spam and bot attacks more costly.

WRITTEN BY: ADRIEN PIRON • UPDATED ON 26 OCTOBER 2026 • 10 MIN READ

Proof-of-Work is a mechanism that requires a computer to perform a certain amount of computation before a transaction is accepted. Bitcoin made it famous through mining, but the principle is much more general and existed even before cryptocurrencies.

The value of Proof-of-Work lies in the difference in cost between the party producing the proof and the party verifying it. The calculation requires significant effort on the part of the former, whilst verification is very quick for the latter. This asymmetry makes certain attacks or automated processes much more costly without imposing the same workload on the system responsible for monitoring them.

Proof of Work: the cornerstone of Bitcoin’s security

Bitcoin is currently the best-known application of Proof-of-Work. Miners build blocks containing transactions and then search for proof that meets a difficulty level defined by the network. To achieve this, their servers calculate a very large number of hashes until they find a value that is sufficiently close to the target set by the protocol.

The hash function used by Bitcoin is deterministic. The same input will always produce exactly the same output. However, there is no method for directly predicting which change will produce the expected hash. Miners must therefore try numerous times by altering the nonce or other data used in the construction of the block.

The search may require a considerable amount of computation, whilst verifying the result is extremely quick. A Bitcoin node that receives a block does not need to repeat all the attempts made by the miner. It simply recalculates the corresponding hash and checks that it meets the required target.

This difference between the cost of production and the cost of verification is the fundamental characteristic of Proof-of-Work. In Bitcoin, it is used to make it costly to create competing blocks and to rewrite the blockchain.

Each block cryptographically references the previous block. Modifying an old transaction results in a change to the block containing it and, subsequently, to the references used by the following blocks. An attacker wishing to reconstruct this part of the history must redo the corresponding work whilst attempting to catch up with the work being carried out in parallel by the rest of the network.

Proof-of-Work thus forms part of Bitcoin’s consensus mechanism, but consensus is not its fundamental function. The key principle is to impose a significant cost on anyone wishing to produce proof, whilst ensuring that verification remains far less costly.

Bitcoin’s difficulty also changes in line with the network’s computing power. The protocol aims to maintain an average block creation rate despite fluctuations in the number and computing power of miners.

Proof of Work makes spamming more expensive

On a website, certain actions may be virtually free for an automated programme, even though they place a load on the server. A bot can submit thousands of forms, create accounts, attempt logins or crawl pages on a massive scale without having to use up many resources for each request.

Number of queriesCalculation per queryTotal workEnergy consumed
10.5 s0.5 s0.0028 Wh
100.5 s5 s0.028 Wh
1000.5 s50 s0.28 Wh
1,0000.5 s8 mins 20 s2.78 Wh
10,0000.5 s1 h 23 min 20 s27.8 Wh
100,0000.5 s13 h 53 min 20 s0.278 kWh
1,000,0000.5 s5 days 18 hours 53 minutes 20 seconds2.78 kWh

A Proof-of-Work mechanism allows part of this cost to be shifted to the client. Before accepting a request, the server asks the browser to perform a small cryptographic calculation. Once the work is complete, the browser sends its proof along with the request, and the server can verify it very quickly.

The Best CAPTCHAs for WordPress in 2026: A Comparison
The Best CAPTCHAs for WordPress in 2026: A Comparison
WordPress7 minassistouest.fr
Protect your WordPress site from spam and malicious bots with our selection of the best free, privacy-friendly and easy-to-integrate CAPTCHAs.

For a visitor who occasionally submits a form, the calculation goes unnoticed. For a bot seeking to repeat the same operation tens of thousands of times, each new attempt requires additional work, and the cumulative cost increases with the scale of the attack.

QueriesWithout PoW500 ms PoWImpact
1negligible0.5 sImperceptible
100negligible50 sLow
10,000negligible1 hr 23Significant
1,000,000negligible138 hours 53Very significant

Proof-of-Work does not seek to determine whether the person in front of the screen is human. A programme is perfectly capable of solving the required calculation. Rather, the mechanism seeks to make large-scale automation less advantageous by ensuring that every action incurs an energy cost and, consequently, an economic cost.

A traditional CAPTCHA attempts to distinguish a human user from automated software. A Proof-of-Work system allows software to solve the challenge but imposes the same computational cost on it with every new attempt.

Smart Ads

This approach works without requiring any additional interaction from the visitor. The calculation can be carried out in the background in the browser whilst the user is viewing or filling in a page. Some anti-spam systems and certain WordPress anti-bot plugins already use this principle to protect comments, logins and forms.

PoW makes it possible to verify a proof without knowing the identity of its author

One of the most interesting features of Proof of Work is that it allows us to verify that work has been carried out without needing to know the identity of the person who produced it. The system does not need to know who is behind a computer, a request or a miner in order to decide whether the proof is valid. It simply needs to verify that the result complies with the rules laid down and that it would indeed have required the expected effort to produce.

This way of operating is particularly useful in open systems where participants do not know one another and where it would be difficult to build security around their identities. A server can receive proof from a completely unknown visitor and verify it immediately, whilst a Bitcoin node can verify the work carried out by a miner without knowing who they are. Trust does not rely on a user account, an IP address or an authority responsible for identifying each participant, but on proof that any other participant can verify in the same way.

Proof of Work does not, however, prove that a person is honest, human or authorised to carry out any particular action. It proves that a certain amount of work has indeed been carried out. A bot can therefore perfectly well produce a valid proof without revealing its identity, but it cannot simply circumvent the cost involved in obtaining it. This is what makes this mechanism effective against large-scale automation, as it is not necessary to identify the attacker in order to impose a cost on them.

Proof-of-Work existed long before Bitcoin

Proof of work was not invented for Bitcoin. Its history dates back to the early 1990s, when Cynthia Dwork and Moni Naor explored the idea of requiring computational work to solve the problem of spam. Sending a single message had to be inexpensive enough for a user, but sending hundreds of thousands or millions of messages had to require a much greater amount of computing resources.

Proof-of-Work existed long before Bitcoin

Adam Back went on to develop Hashcash in the 1990s. The system required the sender to perform a calculation before generating a token that could be quickly verified by the recipient. Hashcash was designed to limit spam and the misuse of internet resources.

Bitcoin would subsequently draw on this family of mechanisms to build its own Proof-of-Work system. The history of PoW is quite different from the picture painted by cryptocurrencies today. Systems that impose a computational cost to limit abuse existed before Bitcoin, and mining is a specific application of this that has become widely known.

PoW increases the cost whilst maintaining fast verification

Proof of Work is particularly useful when an attack costs very little to launch but forces the server to perform a great deal more work in return. A request can consume far more resources than the request to send it. As long as this difference works in the attacker’s favour, they can carry out a large number of attempts at relatively low cost.

Proof of Work helps to redress this imbalance by requiring the client to also perform a certain amount of computation before the server accepts their request. The server then receives the proof and can verify it very quickly before continuing with the processing. The main cost is therefore borne by the party sending the request, whilst verification remains a minor task for the server.

The difficulty may also vary depending on the situation. When the volume of requests increases significantly or automated behaviour is detected, the computational load required increases. The cost rises for those making repeated attempts, whilst the server continues to process requests just as quickly.

Limiting DDoS attacks by imposing a cost on each request

During a denial-of-service attack, the aim is to flood the system with requests until the available resources are exhausted. Proof of Work makes this type of attack more difficult by requiring each client to perform a calculation before the server agrees to allocate further resources to their request.

This protection is particularly useful when just a few bytes sent by an attacker are enough to trigger much more resource-intensive processing on the server side. By requiring preliminary work, each new request also places a burden on the sender’s resources. Increasing the number of connections or operations therefore becomes progressively more costly, rather than relying almost entirely on the resources of the targeted server.

The Tor network uses this principle to strengthen certain onion services against denial-of-service attacks. When the load increases significantly, clients may be required to perform more work before their request is processed. A user making just a few connections is hardly affected, whilst an infrastructure seeking to generate a large number of them must repeat the calculation for each one.

This protection is particularly suited to attacks that seek to exhaust a service’s application resources. On its own, it cannot prevent a volumetric attack that attempts to saturate the network connection, as the traffic may then block access to the server before it can even verify the proof. Proof of Work complements traditional DDoS defences rather than replacing them.

Proof of Work is not the only consensus model

Proof of Work is often compared to Proof of Stake because both mechanisms can be used to secure a blockchain and organise the validation of new blocks. However, this comparison relates only to a specific use of Proof of Work. Proof of Stake is not intended to replace the uses of PoW in combating spam, bots or certain denial-of-service attacks.

In Bitcoin, security relies in part on the physical resources expended by miners. Producing new blocks requires computing power and electricity. Attacking the network or attempting to reconstruct part of its history therefore requires the mobilisation of a significant amount of physical resources.

Proof of Stake is based on a different principle, as validators do not compete by continuously performing calculations. They lock up crypto-assets, which serve as economic collateral, and participate in the selection of participants authorised to propose or validate new blocks in accordance with the rules specific to each network.

This difference significantly reduces the amount of computation required to operate a blockchain and, consequently, its energy consumption. However, it shifts part of the security burden to other mechanisms relating to locked-up capital, penalties imposed on validators and the protocol’s governance rules.

Proof of Stake is an alternative to Proof of Work when used to build consensus on a blockchain. It does not replace the general principle of Proof of Work. A website that requires a few calculations before accepting a contact form, or a service that charges a fee for each request, needs neither tokens, nor validators, nor Proof of Stake.

Recalculation in
Too many readers are currently using an ad blocker

We allow some readers to view our articles for free with an ad blocker. However, their number is currently too high for us to keep this access available to everyone.

You can disable your ad blocker to continue reading immediately, subscribe to enjoy all our content without ads, or come back a little later when the pressure has eased.

I have disabled my ad blocker

Access will be restored automatically as soon as the situation allows.