ENCRYPT.formatArray doesn't convert a byte array straight to hex.
It leaves off any leading 0 in a byte and appends ffffff in front of any negative byte.
This prevents the original data from easily being reconstructed from the log for debugging purposes.