Hash values usually have a fixed length from 13 (DES) to 86 (SHA2) characters. It's perfectly normal if you give longer input. Think of it like a "cross sum" that you can do with arbitrary long numbers as well.
Regarding the uniqueness, using the standard crypt(3) function with SHA-512 and characters in the set a-zA-Z./ you have 54 different characters and a 86 character long string so 54^86 different values. That's a lot :-)
(Don't use the 13 char long DES crypt though, that's bruteforceable with modern hardware and always use "salt" values so that the same input string gives different hash values and you can't use a "rainbow table" attack).