Question about passwords/privacy

How do I know that when I supply a password or even an encryption phrase for a service/website that the peoples behind the program don’t secretly grab my password and smile evilly since they now know my password/encryption phrase?