Created an async call for scrypt