Point is, you can’t guarantee hash length in unaffected by password length.
You can if the software you use makes use of a sane hashing algorithm.
A hash function is any function that can be used to map data of arbitrary size to fixed-size values, though there are some hash functions that support variable-length output (https://en.wikipedia.org/wiki/Hash_function)