What Encryption Does Linux Use for Passwords?
Contents Most Unicies (And Linux Is No Exception) Primarily Use a One-Way Encryption Algorithm, Called Des (Data Encryption Standard) to Encrypt Your...
Most Unicies (and Linux is no exception) primarily use a one-way encryption algorithm, called DES (Data Encryption Standard) to encrypt your passwords. This encrypted password is then stored in (typically) /etc/passwd (or less commonly) /etc/shadow.
Does Linux use hashing or encryption for passwords?
In Linux Passwords are not stored by encrypting with some secret key rather hash of the password is stored. So you need not to worry about key getting compromised nor the file which actually stores password (Hashed Password) getting stolen. To make storage more secure password are hashed with salt.
Must Read
What encryption is used for passwords?
Passwords are encrypted by the MD5 hash algorithm before they are stored in the directory. Passwords are encrypted by the SHA-1 encrypting algorithm before they are stored in the directory. Passwords are encrypted by the Salted SHA-1 encrypting algorithm before they are stored in the directory.