I wanna ask if is there a need to add the SHA512 Hash generator. Ofc. the storage of the mined block gonna be bigger (difficulty gonna be changed)
but it's gonna be more safety
RIPEMD-160 is the next safety bottleneck. Changing from SHA256 to SHA512 wouldn't change the safety.
Explain to me why. The ripemd160 doesn't have that big result as SHA512 or whirlpool. Then why should be not sha512 more safely as SHA256?
mynonce thinks you are referring to the privatekey->public address sequence of events of cryptography. not block hashing (which you are asking about) which has no ripemd160.
..
a better answer to your question
about block hash generation is
when you have a block with 1mb of data.
both sha256 and sha512 do not take that entire block of 1mb data and hash it as a single message.
both of them break up the 1mb into smaller messages. and then compute them as a series.
the end result hash is the same length no matter what the blocksize message is.
it doesnt matter if a block is 1mb or 20mb. the hash length is the same.
for sha256 the resultant hash is 32byte
for sha512 the resultant hash is 64byte
these end resultant hash values
for sha256(32byte) and sha512(64byte) dont really take up much space in a block
EG a block has 2 hash. one for current block and another for previous block. so thats 64byte 128byte respectively
meaning a 1mb block of 1,000,000byte is only taking up 64 or 128byte of that million. which is 0.0064%-0.0128% of a block
if a block was 4mb.. 4,000,000byte is taken up by up 64 or 128byte of that 4million. which is 0.0016%-0.0032% of a block
again negligible impact.
because computers can hash soo soo quickly. (millions of times a second (cpu) trillions/sec(asic)) you are not going to see any real time delay/advantage if it was sha256 or sha512
we are not talking about millisecond differences, nor microsecond differences, nor nanosecond differences, but picoseconds differences at best
the only real impact.. would be all of them 1.5million mining asic machines hashing blocks would become obsolete the second a hash algo change happens. and new asics handling sha512 will have to run in their place.