SHA-512 is based on 64-bit unsigned integers,
which are not natively supported by JavaScript, this is more complex to implement in JavaScript than SHA-256.
SHA-512 is part of a group of hashing algorithms called SHA-2
which includes SHA-256 as well which is used in the bitcoin blockchain for hashing.