What is Scrypt?

Scrypt is a memory hard key-derivation function.

Memory hard functions require a large amount of RAM to be solved.

This means that a standard ASIC chip used for solving the Bitcoin SHA-256 Proof of Work would need to reserve a certain amount of chip space for Random Access Memory instead of pure hashing power. 

Scrypt just adjusts the number of random variables that need to be stored compared to SHA-256.

Scrypt creates a lot of pseudorandom numbers that need to be stored in a RAM location. The algorithm then accesses these numbers a few times before returning a result. Generating the numbers is computationally intensive and as they are accessed a few times it makes sense to use RAM in conjunction with hashing power rather than generating them on the fly – a time and memory trade off in terms of optimising speed.


The main advantage of scrypt is that it lowers the advantage of ASIC Bitcoin miners in the network. This then means that there should be the possibility of more miners joining the network and contributing sufficiently to make it worth their while. Another possibility is there is less energy use as the total network power is less.

Related guides

What is Peercoin? What is Bitcoin? What is a Bitcoin Fork? What are the advantages of Bitcoin? Who is Satoshi Nakomoto? How does a Bitcoin transaction work? What is a premine?

Popular guides

eToro Debuts CopyTrader in the U.S. to Drive Mass-Market Participation in Cryptocurrency Trading Sponsored Lykke: A 'World-Class' Cryptocurrency Exchange Sponsored Get Instant Crypto Loans in 3 Easy Steps What is a Bitcoin ETF? A Basic Overview of the Best Privacy Coins What Is the Binance Coin (BNB)? How to buy on Amazon with Bitcoin