Hash type for Source

Hi
Sorry if this is the wrong Category.
I’m doing a theoretical test to see how well HAProxy performs for my clients that I have. So I was wondering what kind of hash is being used for IP source balancing.

Example
What hash value will 192.168.1.2 get and which server will it go to if we have 2 servers.