Plz tell me where I'm wrong:
Linux is open source --> The Code which encrypts the login password is freely available --> A Baddie looks at the code and finds out the algorithm --> cat /etc/passwd | grep root --> Voila! the baddie has root password.
Of course this does not happen How does Linux manage to be secure inspite of being open source?