ArticleslgStudy

computer science

Equihash

Equihash is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Equihash rather than just read about it. In short: Equihash is a memory-hard Proof-of-work algorithm introduced by the University of Luxembourg's Interdisciplinary Centre for Security, Reliability and Trust (SnT) at the 2016 Network and Distributed System Security Symposium. The algorithm is based on a generalization of the Birthday problem which finds colliding hash values.

Key takeaways

  • Equihash belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Equihash to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Equihash from memory before moving on to harder problems.

Reference excerpt

Equihash is a memory-hard Proof-of-work algorithm introduced by the University of Luxembourg's Interdisciplinary Centre for Security, Reliability and Trust (SnT) at the 2016 Network and Distributed System Security Symposium. The algorithm is based on a generalization of the Birthday problem which finds colliding hash values. It has severe time-space trade-offs but concedes vulnerability to unforeseen parallel optimizations. It was designed such that parallel implementations are bottle-necked by memory bandwidth in an attempt to worsen the cost-performance trade-offs of designing custom ASIC implementations. ASIC resistance in Equihash is based on the assumption that commercially-sold hardware already has quite high memory bandwidth, so improvements made by custom hardware may not be worth the development cost.

General Equihash was proposed by Alex Biryukov and Dmitry Khovratovich as part of the University of Luxembourg research group CryptoLUX. It was introduced at the Network and Distributed System Security Symposium 2016 in San Diego. Notable blockchain-based projects such as ZCash, BitcoinZ, Horizen, Aion, Hush, and Pirate Chain have integrated Equihash for reasons such as security, privacy, and ASIC miner resistance.

The manufacturer Bitmain has succeeded in optimizing the processing of Zcash's Equihash-200,9 with an ASIC.

Specification Equihash has three parameters – n, k, and d – which determine the algorithm's time and memory requirements. The time complexity is proportional to 2nk+1+dwhile the memory complexity is proportional to 2k+nk+1. The algorithm is often implemented with d=0 (using an alternative method of controlling the effective difficulty). The problem in Equihash is to find distinct, n-bit values i1,i2,...,i2k to satisfy H(i1)⊕H(i2)⊕...⊕H(i2k)=0 such that H(i1∥i2∥...∥i2k) has d leading zeros, where H is a chosen hash function. In addition, there are "algorithm binding conditions" which are intended to reduce the risk of other algorithms developed to solve the underlying birthday problem being applicable. A memory-less verification requires 2khashes and XORs.

Memory-hardness and time-space tradeoffs It is proposed that the puzzle in Equihash be solved by a variation of Wagner's algorithm for the generalized birthday problem. (Note that the underlying problem is not exactly the Generalized Birthday Problem as defined by Wagner, since it uses a single list rather than multiple lists.) The proposed algorithm makes k iterations over a large list. For every factor of 1q fewer entries per list, computational complexity of the algorithm scales proportional to qk2 for memory-efficient implementations. Alcock and Ren refute Equihash’s security claims, concluding that no tradeoff-resistance bound is in fact known for Equihash. A 2026 paper proposes that List Item Reduction(LIR) can result in roughly 70% of a reduction in memory usage with only a twofold time penalty.

Usage The cryptocurrency Zcash implements Equihash with n=200 and k=9. The cryptocurrency BitcoinGold implements Equihash with n=144 and k=5.

See also Proof of stake

References

External links

Worked examples

Example 1 — a first encounter with Equihash

Start with the simplest possible case. Write down what Equihash claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Equihash before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Equihash ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Equihash

In research
Equihash appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Equihash in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Equihash is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptocurrencies, Cryptographic algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Equihash outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Equihash” →

How to study Equihash in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Equihash means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Equihash out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Equihash in simple terms?

Equihash is a memory-hard Proof-of-work algorithm introduced by the University of Luxembourg's Interdisciplinary Centre for Security, Reliability and Trust (SnT) at the 2016 Network and Distributed System Security Symposium. The algorithm is based on a generalization of the Birthday problem which f…

Why does Equihash matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Equihash?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Equihash.

Tags

  • Cryptocurrencies
  • Cryptographic algorithms

Keep exploring