scrypt factory