Optimize hex string calculation for SHA512. This improves load time a little when reading cache.