Replace sha256 with gravityscore's implementation