Fixed sha256 and sha512