Double sha256 implementation