Wrote code for padding a sha512 digest. Endianness is not taken into account.