Used existing scrypt implementation.