What is Scrypt?

12 Feb 2015

Litecoin logo metalScrypt 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.


Important information

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 a newer browser in order to work.
Please use one of the browsers below: