Linux passwords are hashed not encrypted

In Linux Passwords are not stored by encrypting with some secret key rather hash of the password is stored. 

There is no worry about key getting compromised or the file which actually stores password (Hashed Password) getting stolen.

To make storage more secure password are hashed with salt. Salt is just random string which is generated when you create password. This helps prevent rainbow table attacks.

Comments