scrypt Algorithm

A simplified version of scrypt is used as a proof-of-work scheme by a number of cryptocurrencies, first implemented by an anonymous programmer named ArtForz in Tenebrix and followed by Fairbrix and Litecoin soon after. In cryptanalysis, scrypt (pronounced" ess crypt") is a password-based key derivation function created by Colin Percival, originally for the Tarsnap online backup service.

scrypt source code, pseudocode and analysis

B2r-1]← X