Because Base64 encoding is a TEXT encoding with a maximum line length and data is split into chucks of this size separated by LF or CRLF depending on platform.
I assume Hex encoded doesn't have the line length rules, so it's written as one line? Dave
