encyclopegia.org

Scrypt

In cryptography, scrypt (pronounced "ess crypt" ) is a password-based key derivation function created by Colin Percival in March 2009, originally for the Tarsnap online backup service. The algorithm was specifically designed to make it costly to perform large-scale custom hardware attacks by requiring large amounts of memory. In 2016, the scrypt algorithm was published by IETF as RFC 7914. A simplified version of scrypt is used as a proof-of-work scheme by a number of cryptocurrencies, first implemented by an anonymous programmer called ArtForz in Tenebrix and followed by Fairbrix and Litecoin soon after.

In cryptography, scrypt (pronounced "ess crypt" ) is a password-based key derivation function created by Colin Percival in March 2009, originally for the Tarsnap online backup service. The algorithm was specifically designed to make it costly to perform large-scale custom hardware attacks by requiring large amounts of memory. In 2016, the scrypt algorithm was published by IETF as RFC 7914. A simplified version of scrypt is used as a proof-of-work scheme by a number of cryptocurrencies, first implemented by an anonymous programmer called ArtForz in Tenebrix and followed by Fairbrix and Litecoin soon after. This notation is used by RFC 7914 for specifying a usage of PBKDF2 with c = 1. Function ROMix(Block, Iterations) Create Iterations copies of X X ← Block for i ← 0 to Iterations−1 do V i ← X X ← BlockMix(X) for i ← 0 to Iterations−1 do j ← Integerify(X) mod Iterations X ← BlockMix(X xor V j ) return X Where RFC 7914 defines as the result of interpreting the last 64 bytes of X as a little-endian integer A 1 . Since Iterations equals 2 to the power of N, only the first bytes among the last 64 bytes of X, interpreted as a little-endian integer A 2 , are actually needed to compute Integerify(X) mod Iterations = A 1 mod Iterations = A 2 mod Iterations . Function BlockMix(B): The block B is r 128-byte chunks (which is equivalent of 2r 64-byte chunks) r ← Length(B) / 128; Treat B as an array of 2r 64-byte chunks [B 0 ...B 2r-1 ] ← B X ← B 2r−1 for i ← 0 to 2r−1 do X ← Salsa20/8(X xor B i ) // Salsa20/8 hashes from 64-bytes to 64-bytes Y i ← X return ← Y 0 ∥Y 2 ∥...∥Y 2r−2 ∥ Y 1 ∥Y 3 ∥...∥Y 2r−1 Where Salsa20/8 is the 8-round version of Salsa20. ==See also== Argon2 – winner of the Password Hashing Competition in 2015 bcrypt – blowfish-based password-hashing function bcrypt – blowfish-based cross-platform file encryption utility developed in 2002 crypt – Unix C library function crypt – Unix utility ccrypt – utility Key derivation function Key stretching mcrypt – utility PBKDF2 – a widely used standard Password-Based Key Derivation Function 2 PufferFish – a cache-hard password hashing function based on improved bcrypt design Space–time tradeoff yescrypt – successor to scrypt

References

  1. Colin Percival · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Colin Percival." 2026-11-18. https://twitter.com/cperciva/status/734613598383841281. Accessed 24 November 2026.

    Chicago "Colin Percival." 2026-11-18. https://twitter.com/cperciva/status/734613598383841281.

    APA encyclopegia.org. (2026). Colin Percival. Retrieved November 24, 2026, from https://twitter.com/cperciva/status/734613598383841281

  2. Massive surge in Litecoin mining leads to graphics card shortage · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Massive surge in Litecoin mining leads to graphics card shortage." Joel Hruska (10 December 2013). 2026-11-18. http://www.extremetech.com/computing/172381-massive-surge-in-litecoin-mining-leads-to-radeon-shortage. Accessed 24 November 2026.

    Chicago "Massive surge in Litecoin mining leads to graphics card shortage." Joel Hruska (10 December 2013). 2026-11-18. http://www.extremetech.com/computing/172381-massive-surge-in-litecoin-mining-leads-to-radeon-shortage.

    APA Joel Hruska (10 December 2013). (2026). Massive surge in Litecoin mining leads to graphics card shortage. Retrieved November 24, 2026, from http://www.extremetech.com/computing/172381-massive-surge-in-litecoin-mining-leads-to-radeon-shortage

  3. Bcrypt – Blowfish File Encryption (homepage) · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Bcrypt – Blowfish File Encryption (homepage)." Shelley, Johnny; Stolarczyk, Philip. 2026-11-18. https://bcrypt.sourceforge.net/. Accessed 24 November 2026.

    Chicago "Bcrypt – Blowfish File Encryption (homepage)." Shelley, Johnny; Stolarczyk, Philip. 2026-11-18. https://bcrypt.sourceforge.net/.

    APA Shelley, Johnny; Stolarczyk, Philip. (2026). Bcrypt – Blowfish File Encryption (homepage). Retrieved November 24, 2026, from https://bcrypt.sourceforge.net/

  4. bcrypt APK for Android – free download on Droid Informer · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "bcrypt APK for Android – free download on Droid Informer." 2026-11-18. https://droidinformer.org/tools/bcrypt/. Accessed 24 November 2026.

    Chicago "bcrypt APK for Android – free download on Droid Informer." 2026-11-18. https://droidinformer.org/tools/bcrypt/.

    APA encyclopegia.org. (2026). bcrypt APK for Android – free download on Droid Informer. Retrieved November 24, 2026, from https://droidinformer.org/tools/bcrypt/

  5. T2 package – trunk – bcrypt – A utility to encrypt files · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "T2 package – trunk – bcrypt – A utility to encrypt files." 2026-11-18. http://t2sde.org/packages/bcrypt.html. Accessed 24 November 2026.

    Chicago "T2 package – trunk – bcrypt – A utility to encrypt files." 2026-11-18. http://t2sde.org/packages/bcrypt.html.

    APA encyclopegia.org. (2026). T2 package – trunk – bcrypt – A utility to encrypt files. Retrieved November 24, 2026, from http://t2sde.org/packages/bcrypt.html

  6. Oracle® GoldenGate Licensing Information · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Oracle® GoldenGate Licensing Information." 2026-11-18. https://docs.oracle.com/goldengate/1212/gg-winux/OGGLC/ogglc_licenses.htm. Accessed 24 November 2026.

    Chicago "Oracle® GoldenGate Licensing Information." 2026-11-18. https://docs.oracle.com/goldengate/1212/gg-winux/OGGLC/ogglc_licenses.htm.

    APA encyclopegia.org. (2026). Oracle® GoldenGate Licensing Information. Retrieved November 24, 2026, from https://docs.oracle.com/goldengate/1212/gg-winux/OGGLC/ogglc_licenses.htm

  7. The scrypt Password-Based Key Derivation Function · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "The scrypt Password-Based Key Derivation Function." Percival, Colin; Josefsson, Simon (August 2016). 2026-11-18. https://datatracker.ietf.org/doc/html/rfc7914. Accessed 24 November 2026.

    Chicago "The scrypt Password-Based Key Derivation Function." Percival, Colin; Josefsson, Simon (August 2016). 2026-11-18. https://datatracker.ietf.org/doc/html/rfc7914.

    APA Percival, Colin; Josefsson, Simon (August 2016). (2026). The scrypt Password-Based Key Derivation Function. Retrieved November 24, 2026, from https://datatracker.ietf.org/doc/html/rfc7914

  8. Beyond Bitcoin: A Guide to the Most Promising Cryptocurrencies · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Beyond Bitcoin: A Guide to the Most Promising Cryptocurrencies." Alec Liu (29 November 2013). 2026-11-18. https://www.vice.com/en/article/beyond-bitcoin-a-guide-to-the-most-promising-cryptocurrencies/. Accessed 24 November 2026.

    Chicago "Beyond Bitcoin: A Guide to the Most Promising Cryptocurrencies." Alec Liu (29 November 2013). 2026-11-18. https://www.vice.com/en/article/beyond-bitcoin-a-guide-to-the-most-promising-cryptocurrencies/.

    APA Alec Liu (29 November 2013). (2026). Beyond Bitcoin: A Guide to the Most Promising Cryptocurrencies. Retrieved November 24, 2026, from https://www.vice.com/en/article/beyond-bitcoin-a-guide-to-the-most-promising-cryptocurrencies/

  9. Stronger Key Derivation Via Sequential Memory-Hard Functions · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Stronger Key Derivation Via Sequential Memory-Hard Functions." Percival, Colin. 2026-11-18. http://www.tarsnap.com/scrypt/scrypt.pdf. Accessed 24 November 2026.

    Chicago "Stronger Key Derivation Via Sequential Memory-Hard Functions." Percival, Colin. 2026-11-18. http://www.tarsnap.com/scrypt/scrypt.pdf.

    APA Percival, Colin. (2026). Stronger Key Derivation Via Sequential Memory-Hard Functions. Retrieved November 24, 2026, from http://www.tarsnap.com/scrypt/scrypt.pdf

  10. Andreas M. Antonopoulos (3 December 2014). Mastering Bitcoin: Unlocking Digital Cryptocurrencies . O'Reilly Media. pp. 221, 223. ISBN 9781491902646 . Wikipedia revision 1332071125, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Andreas M. Antonopoulos (3 December 2014). Mastering Bitcoin: Unlocking Digital Cryptocurrencies . O'Reilly Media. pp. 221, 223. ISBN 9781491902646 . Wikipedia revision 1332071125, retrieved 2026-11-19." Andreas M. 2026-11-18. https://books.google.com/books?id=IXmrBQAAQBAJ&pg=PA221. Accessed 24 November 2026.

    Chicago "Andreas M. Antonopoulos (3 December 2014). Mastering Bitcoin: Unlocking Digital Cryptocurrencies . O'Reilly Media. pp. 221, 223. ISBN 9781491902646 . Wikipedia revision 1332071125, retrieved 2026-11-19." Andreas M. 2026-11-18. https://books.google.com/books?id=IXmrBQAAQBAJ&pg=PA221.

    APA Andreas M. (2026). Andreas M. Antonopoulos (3 December 2014). Mastering Bitcoin: Unlocking Digital Cryptocurrencies . O'Reilly Media. pp. 221, 223. ISBN 9781491902646 . Wikipedia revision 1332071125, retrieved 2026-11-19. Retrieved November 24, 2026, from https://books.google.com/books?id=IXmrBQAAQBAJ&pg=PA221

  11. History of cryptocurrency · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "History of cryptocurrency." 2026-11-18. https://web.archive.org/web/20160611133738/https://litecoin.info/History_of_cryptocurrency. Accessed 24 November 2026.

    Chicago "History of cryptocurrency." 2026-11-18. https://web.archive.org/web/20160611133738/https://litecoin.info/History_of_cryptocurrency.

    APA encyclopegia.org. (2026). History of cryptocurrency. Retrieved November 24, 2026, from https://web.archive.org/web/20160611133738/https://litecoin.info/History_of_cryptocurrency

  12. Roman Guelfi-Gibbs. Litecoin Scrypt Mining Configurations for Radeon 7950 . Amazon Digital Services. Archived from the original on 24 October 2016 . Retrieved 11 September 2017 . Wikipedia revision 1332071125, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Roman Guelfi-Gibbs. Litecoin Scrypt Mining Configurations for Radeon 7950 . Amazon Digital Services. Archived from the original on 24 October 2016 . Retrieved 11 September 2017 . Wikipedia revision 1332071125, retrieved 2026-11-19." Roman Guelfi-Gibbs. 2026-11-18. https://www.amazon.com/Litecoin-Scrypt-Mining-Configurations-Radeon-ebook/dp/B00E2RT1I4. Accessed 24 November 2026.

    Chicago "Roman Guelfi-Gibbs. Litecoin Scrypt Mining Configurations for Radeon 7950 . Amazon Digital Services. Archived from the original on 24 October 2016 . Retrieved 11 September 2017 . Wikipedia revision 1332071125, retrieved 2026-11-19." Roman Guelfi-Gibbs. 2026-11-18. https://www.amazon.com/Litecoin-Scrypt-Mining-Configurations-Radeon-ebook/dp/B00E2RT1I4.

    APA Roman Guelfi-Gibbs. (2026). Roman Guelfi-Gibbs. Litecoin Scrypt Mining Configurations for Radeon 7950 . Amazon Digital Services. Archived from the original on 24 October 2016 . Retrieved 11 September 2017 . Wikipedia revision 1332071125, retrieved 2026-11-19. Retrieved November 24, 2026, from https://www.amazon.com/Litecoin-Scrypt-Mining-Configurations-Radeon-ebook/dp/B00E2RT1I4

  13. SCRYPT(1) General Commands Manual · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "SCRYPT(1) General Commands Manual." a b "SCRYPT(1) General Commands Manual". 2026-11-18. https://manpages.debian.org/testing/scrypt/scrypt.1.en.html. Accessed 24 November 2026.

    Chicago "SCRYPT(1) General Commands Manual." a b "SCRYPT(1) General Commands Manual". 2026-11-18. https://manpages.debian.org/testing/scrypt/scrypt.1.en.html.

    APA a b "SCRYPT(1) General Commands Manual". (2026). SCRYPT(1) General Commands Manual. Retrieved November 24, 2026, from https://manpages.debian.org/testing/scrypt/scrypt.1.en.html

  14. The scrypt key derivation function · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "The scrypt key derivation function." a b "The scrypt key derivation function". 2026-11-18. http://www.tarsnap.com/scrypt.html. Accessed 24 November 2026.

    Chicago "The scrypt key derivation function." a b "The scrypt key derivation function". 2026-11-18. http://www.tarsnap.com/scrypt.html.

    APA a b "The scrypt key derivation function". (2026). The scrypt key derivation function. Retrieved November 24, 2026, from http://www.tarsnap.com/scrypt.html

  15. Release 1.3.3 · retrieved 2026-11-18 · rev 1332071125
    Cite this reference

    MLA "Release 1.3.3." "Release 1. 2026-11-18. https://github.com/Tarsnap/scrypt/releases/tag/1.3.3. Accessed 24 November 2026.

    Chicago "Release 1.3.3." "Release 1. 2026-11-18. https://github.com/Tarsnap/scrypt/releases/tag/1.3.3.

    APA "Release 1. (2026). Release 1.3.3. Retrieved November 24, 2026, from https://github.com/Tarsnap/scrypt/releases/tag/1.3.3

Cite this article

MLA

"Scrypt." encyclopegia.org, 2026, https://encyclopegia.org/wiki/scrypt. Accessed 24 November 2026.

Chicago

"Scrypt." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/scrypt.

APA

encyclopegia.org. (2026). Scrypt. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/scrypt

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Will Hudson (basketball)

enwiki · references available

Massimo Bartolini

enwiki · references available

Journal of Oil Palm Research

enwiki · references available

Werner Schmid

enwiki · references available

Vugdalić

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1332071125 · 0.5 · snapshot enwiki-001332071125

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.