I am using "SHA-512" algorithm in Java to create hash with salt. The problem is in hashed string there is always a strange character which brakes line and when I print hashed string it is composed of two lines. But when I use SHA-256 it is shorter and it does not have a new line char.
So why I am getting two line when I use SHA-512?
EDIT: Sorry I did not mention that new line char is in encoded string. So my hashed string is like ".....hvRfXJwYDrnky/uUVzXnxz*\r\n*GFDJ+L3A......" characters "\r\n" causes problem..